refactor(chain)!: update KeychainTxOutIndex methods to use owned ScriptBuf
This commit is contained in:
@@ -502,7 +502,7 @@ where
|
||||
false => Keychain::External,
|
||||
};
|
||||
for (spk_i, spk) in index.revealed_keychain_spks(target_keychain) {
|
||||
let address = Address::from_script(spk, network)
|
||||
let address = Address::from_script(spk.as_script(), network)
|
||||
.expect("should always be able to derive address");
|
||||
println!(
|
||||
"{:?} {} used:{}",
|
||||
|
||||
Reference in New Issue
Block a user