]> Untitled Git - bdk/commitdiff
chore(chain): move `use` in `indexed_tx_graph.rs` so clippy is happy
author志宇 <hello@evanlinjin.me>
Mon, 6 May 2024 10:04:34 +0000 (18:04 +0800)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Wed, 8 May 2024 13:49:48 +0000 (15:49 +0200)
crates/chain/src/indexed_tx_graph.rs

index cef0bbf81bf82f5624d56e02e3b08eaf3f9aad28..e5e1f7536c4b2c8a2be36d96cca8c17c3515ecb1 100644 (file)
@@ -4,7 +4,6 @@ use alloc::vec::Vec;
 use bitcoin::{Block, OutPoint, Transaction, TxOut, Txid};
 
 use crate::{
-    keychain,
     tx_graph::{self, TxGraph},
     Anchor, AnchorFromBlockPosition, Append, BlockId,
 };
@@ -321,8 +320,8 @@ impl<A, IA: Default> From<tx_graph::ChangeSet<A>> for ChangeSet<A, IA> {
 }
 
 #[cfg(feature = "miniscript")]
-impl<A, K> From<keychain::ChangeSet<K>> for ChangeSet<A, keychain::ChangeSet<K>> {
-    fn from(indexer: keychain::ChangeSet<K>) -> Self {
+impl<A, K> From<crate::keychain::ChangeSet<K>> for ChangeSet<A, crate::keychain::ChangeSet<K>> {
+    fn from(indexer: crate::keychain::ChangeSet<K>) -> Self {
         Self {
             graph: Default::default(),
             indexer,