mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-19 12:08:05 +00:00
Merge pull request #122 from dgpv/patch-3
bip-taproot: use bytes() instead of b'' - avoid markdown issue
This commit is contained in:
commit
fda77055c7
@ -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"""
|
- a list of two elements, each with the same structure as script_tree itself"""
|
||||||
- None
|
- None
|
||||||
if script_tree is None:
|
if script_tree is None:
|
||||||
h = b''
|
h = bytes()
|
||||||
else:
|
else:
|
||||||
_, h = taproot_tree_helper(script_tree)
|
_, h = taproot_tree_helper(script_tree)
|
||||||
output_pubkey, _ = taproot_tweak_pubkey(internal_pubkey, h)
|
output_pubkey, _ = taproot_tweak_pubkey(internal_pubkey, h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user