Update bdk_chain to bitcoin 0.30.0

This commit is contained in:
Daniela Brozzoni
2023-06-21 17:59:34 +02:00
parent d73669e8fa
commit 853d361751
11 changed files with 115 additions and 97 deletions

View File

@@ -313,7 +313,7 @@ impl<K: Clone + Ord + Debug> KeychainTxOutIndex<K> {
self.inner
.all_spks()
.range((keychain.clone(), u32::MIN)..(keychain.clone(), next_index))
.map(|((_, derivation_index), spk)| (*derivation_index, spk))
.map(|((_, derivation_index), spk)| (*derivation_index, spk.as_script()))
}
/// Get the next derivation index for `keychain`. The next index is the index after the last revealed