Skip to content

Commit eacf0c6

Browse files
authored
Merge pull request bitcoin#120 from dgpv/patch-2
bip-taproot: fix docstring in taproot_output_script
2 parents fda7705 + db8d6d4 commit eacf0c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bip-taproot.mediawiki

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ def taproot_output_script(internal_pubkey, script_tree):
221221
"""Given a internal public key and a tree of scripts, compute the output script.
222222
script_tree is either:
223223
- a (leaf_version, script) tuple (leaf_version is 0xc0 for bip-tapscript scripts)
224-
- a list of two elements, each with the same structure as script_tree itself"""
224+
- a list of two elements, each with the same structure as script_tree itself
225225
- None
226+
"""
226227
if script_tree is None:
227228
h = bytes()
228229
else:

0 commit comments

Comments
 (0)