From 6c8748124fd40e0fee37f78ca30457441b13fbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Mon, 6 May 2024 18:04:34 +0800 Subject: [PATCH] chore(chain): move `use` in `indexed_tx_graph.rs` so clippy is happy --- crates/chain/src/indexed_tx_graph.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/chain/src/indexed_tx_graph.rs b/crates/chain/src/indexed_tx_graph.rs index cef0bbf8..e5e1f753 100644 --- a/crates/chain/src/indexed_tx_graph.rs +++ b/crates/chain/src/indexed_tx_graph.rs @@ -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 From> for ChangeSet { } #[cfg(feature = "miniscript")] -impl From> for ChangeSet> { - fn from(indexer: keychain::ChangeSet) -> Self { +impl From> for ChangeSet> { + fn from(indexer: crate::keychain::ChangeSet) -> Self { Self { graph: Default::default(), indexer,