Skip to content

Commit db8d6d4

Browse files
committed
fix docstring in taproot_output_script
the final "-None" line in the docstring of `taproot_output_script` example function was actually outside of the docstring
1 parent fda7705 commit db8d6d4

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)