0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Fix typo in test_framework/blocktools

This commit is contained in:
MeshCollider 2018-10-09 22:18:34 +09:00
parent f6ed748cf0
commit 353c064596

View file

@ -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