We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea866c4 commit 6384e14Copy full SHA for 6384e14
bitcoin/core/__init__.py
@@ -308,7 +308,7 @@ class CMutableTxOut(CTxOut):
308
309
@classmethod
310
def from_txout(cls, txout):
311
- """Create a fullly mutable copy of an existing TxOut"""
+ """Create a fully mutable copy of an existing TxOut"""
312
return cls(txout.nValue, txout.scriptPubKey)
313
314
bitcoin/core/script.py
@@ -375,12 +375,14 @@ def __new__(cls, n):
375
376
OPCODES_BY_NAME = {
377
'OP_0': OP_0,
378
+ 'OP_FALSE': OP_0,
379
'OP_PUSHDATA1': OP_PUSHDATA1,
380
'OP_PUSHDATA2': OP_PUSHDATA2,
381
'OP_PUSHDATA4': OP_PUSHDATA4,
382
'OP_1NEGATE': OP_1NEGATE,
383
'OP_RESERVED': OP_RESERVED,
384
'OP_1': OP_1,
385
+ 'OP_TRUE': OP_1,
386
'OP_2': OP_2,
387
'OP_3': OP_3,
388
'OP_4': OP_4,
0 commit comments