mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
script/sign: remove needless IsSolvable() utility
It was used back when we didn't have a concept of descriptor. Now we can check for solvability using descriptors.
This commit is contained in:
@@ -138,8 +138,6 @@ FUZZ_TARGET_INIT(key, initialize_key)
|
||||
assert(tx_multisig_script.size() == 37);
|
||||
|
||||
FillableSigningProvider fillable_signing_provider;
|
||||
assert(IsSolvable(fillable_signing_provider, tx_pubkey_script));
|
||||
assert(IsSolvable(fillable_signing_provider, tx_multisig_script));
|
||||
assert(!IsSegWitOutput(fillable_signing_provider, tx_pubkey_script));
|
||||
assert(!IsSegWitOutput(fillable_signing_provider, tx_multisig_script));
|
||||
assert(fillable_signing_provider.GetKeys().size() == 0);
|
||||
|
||||
Reference in New Issue
Block a user