diff --git a/src/wallet.rs b/src/wallet.rs index 4373e7f..b088c3f 100644 --- a/src/wallet.rs +++ b/src/wallet.rs @@ -54,7 +54,6 @@ pub struct AddrIter<'descr, K, D: Descriptor> { generator: &'descr D, network: AddressNetwork, keychain: Keychain, - // TODO: get index index: NormalIndex, _phantom: PhantomData, } @@ -105,11 +104,6 @@ impl> WalletDescr { _phantom: PhantomData, } } - - // Use this unique identifier as an id for important cache of the wallet - pub fn unique_id(&self) -> String { - format!("{:?}-{:?}", self.generator.xpubs().collect::>(), self.network) - } } impl, L2: Layer2Descriptor> WalletDescr {