From db8d6d426f8fcb0ea5094e20fe6cdc88976a9870 Mon Sep 17 00:00:00 2001 From: Dmitry Petukhov Date: Mon, 4 Nov 2019 17:46:00 +0500 Subject: [PATCH] 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 --- bip-taproot.mediawiki | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bip-taproot.mediawiki b/bip-taproot.mediawiki index 460ce12e..fd25b770 100644 --- a/bip-taproot.mediawiki +++ b/bip-taproot.mediawiki @@ -221,8 +221,9 @@ def taproot_output_script(internal_pubkey, script_tree): """Given a internal public key and a tree of scripts, compute the output script. script_tree is either: - a (leaf_version, script) tuple (leaf_version is 0xc0 for bip-tapscript scripts) - - 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 + """ if script_tree is None: h = bytes() else: