diff options
author | Bruno Garcia <brunoely.gc@gmail.com> | 2021-02-04 10:49:45 -0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-02-08 08:51:02 +0100 |
commit | 4607019798c543f046bcd22d5b7c09750e7e0ee2 (patch) | |
tree | 9132dff8e37a367dbea858e9de76f24a4083c98a | |
parent | 6dc58e99457fe4609fa3c401e89f98c92dbd9878 (diff) | |
download | bitcoin-4607019798c543f046bcd22d5b7c09750e7e0ee2.tar.xz |
fix the unreachable code at feature_taproot
Github-Pull: #21081
Rebased-From: 5e0cd25e29541e6c19559fb5c2555e008ed896fa
-rwxr-xr-x | test/functional/feature_taproot.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py index 0f0fe8a34a..2b9b614878 100755 --- a/test/functional/feature_taproot.py +++ b/test/functional/feature_taproot.py @@ -515,7 +515,6 @@ def add_spender(spenders, *args, **kwargs): def random_checksig_style(pubkey): """Creates a random CHECKSIG* tapscript that would succeed with only the valid signature on witness stack.""" - return bytes(CScript([pubkey, OP_CHECKSIG])) opcode = random.choice([OP_CHECKSIG, OP_CHECKSIGVERIFY, OP_CHECKSIGADD]) if (opcode == OP_CHECKSIGVERIFY): ret = CScript([pubkey, opcode, OP_1]) |