aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-10-19 13:50:36 -0700
committerPieter Wuille <pieter@wuille.net>2020-10-19 13:50:36 -0700
commit812baaa1f804a8c848284759c75e5f9d19e942f8 (patch)
tree4a2ae569d6159a0173e32c0cb97dc5b360a4c7ce /test/functional/test_framework
parent45385018e13e167521e655c36128d8ee4f2a3e0b (diff)
Switch to BIP341's suggested scheme for outputs without script
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r--test/functional/test_framework/script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/script.py b/test/functional/test_framework/script.py
index 8e5848d493..201c1af93b 100644
--- a/test/functional/test_framework/script.py
+++ b/test/functional/test_framework/script.py
@@ -787,7 +787,7 @@ def TaprootSignatureHash(txTo, spent_utxos, hash_type, input_index = 0, scriptpa
def taproot_tree_helper(scripts):
if len(scripts) == 0:
- return ([], bytes(0 for _ in range(32)))
+ return ([], bytes())
if len(scripts) == 1:
# One entry: treat as a leaf
script = scripts[0]