We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5dda4 commit ce31d0aCopy full SHA for ce31d0a
examples/timestamp-op-ret.py
@@ -22,6 +22,7 @@
22
import bitcoin.rpc
23
import sys
24
25
+from bitcoin import params
26
from bitcoin.core import *
27
from bitcoin.core.script import *
28
@@ -53,7 +54,7 @@
53
54
55
change_addr = proxy.getnewaddress()
56
change_pubkey = proxy.validateaddress(change_addr)['pubkey']
- change_out = CMutableTxOut(MAX_MONEY, CScript([change_pubkey, OP_CHECKSIG]))
57
+ change_out = CMutableTxOut(params.MAX_MONEY, CScript([change_pubkey, OP_CHECKSIG]))
58
59
digest_outs = [CMutableTxOut(0, CScript([OP_RETURN, digest]))]
60
0 commit comments