fix(chain)!: rm weird From impl
And signature of `example_cli::KeychainChangeSet` is changed.
This commit is contained in:
@@ -6,7 +6,7 @@ use alloc::vec::Vec;
|
||||
use bitcoin::{OutPoint, Transaction, TxOut};
|
||||
|
||||
use crate::{
|
||||
keychain, local_chain,
|
||||
keychain,
|
||||
tx_graph::{self, TxGraph},
|
||||
Anchor, Append,
|
||||
};
|
||||
@@ -225,12 +225,6 @@ impl<A, K> From<keychain::ChangeSet<K>> for ChangeSet<A, keychain::ChangeSet<K>>
|
||||
}
|
||||
}
|
||||
|
||||
impl<A, IA> From<ChangeSet<A, IA>> for (local_chain::ChangeSet, ChangeSet<A, IA>) {
|
||||
fn from(indexed_changeset: ChangeSet<A, IA>) -> Self {
|
||||
(local_chain::ChangeSet::default(), indexed_changeset)
|
||||
}
|
||||
}
|
||||
|
||||
/// Utilities for indexing transaction data.
|
||||
///
|
||||
/// Types which implement this trait can be used to construct an [`IndexedTxGraph`].
|
||||
|
||||
Reference in New Issue
Block a user