summaryrefslogtreecommitdiff
path: root/bip-taproot.mediawiki
diff options
context:
space:
mode:
Diffstat (limited to 'bip-taproot.mediawiki')
-rw-r--r--bip-taproot.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-taproot.mediawiki b/bip-taproot.mediawiki
index 1b8ed0c..460ce12 100644
--- a/bip-taproot.mediawiki
+++ b/bip-taproot.mediawiki
@@ -224,7 +224,7 @@ def taproot_output_script(internal_pubkey, script_tree):
- a list of two elements, each with the same structure as script_tree itself"""
- None
if script_tree is None:
- h = b''
+ h = bytes()
else:
_, h = taproot_tree_helper(script_tree)
output_pubkey, _ = taproot_tweak_pubkey(internal_pubkey, h)