Merge pull request #4133 from laseryuan/patch-1
Fix the error: locktime is always reset to zero when serialize the js…
This commit is contained in:
commit
bf67920f7f
@ -201,7 +201,7 @@ class Commands:
|
|||||||
keypairs = {}
|
keypairs = {}
|
||||||
inputs = jsontx.get('inputs')
|
inputs = jsontx.get('inputs')
|
||||||
outputs = jsontx.get('outputs')
|
outputs = jsontx.get('outputs')
|
||||||
locktime = jsontx.get('locktime', 0)
|
locktime = jsontx.get('lockTime', 0)
|
||||||
for txin in inputs:
|
for txin in inputs:
|
||||||
if txin.get('output'):
|
if txin.get('output'):
|
||||||
prevout_hash, prevout_n = txin['output'].split(':')
|
prevout_hash, prevout_n = txin['output'].split(':')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user