Fix typo in test_framework/blocktools
This commit is contained in:
1 parent
f6ed748cf0
commit
353c064596
1 file changed
+1
-1
@@ -169,7 +169,7 @@ def get_legacy_sigopcount_tx(tx, accurate=True):
|
|||||||
return count
|
return count
|
||||||
|
|
||||||
def witness_script(use_p2wsh, pubkey):
|
def witness_script(use_p2wsh, pubkey):
|
||||||
"""Create a scriptPubKey for a pay-to-wtiness TxOut.
|
"""Create a scriptPubKey for a pay-to-witness TxOut.
|
||||||
|
|
||||||
This is either a P2WPKH output for the given pubkey, or a P2WSH output of a
|
This is either a P2WPKH output for the given pubkey, or a P2WSH output of a
|
||||||
1-of-1 multisig for the given pubkey. Returns the hex encoding of the
|
1-of-1 multisig for the given pubkey. Returns the hex encoding of the
|
||||||
|
|||||||
Reference in new issue
Block a user