commit 7e66a5e12835e0d81cdb92883c2e0cb7f872e901
parent 9fc8d94d9615ed7d3684fc2296c9a93e1ea7f797
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 15 Sep 2017 11:54:01 +0200
Merge pull request #2871 from SomberNight/coinbase_scriptSig
fix: set scriptSig when spending from coinbase
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/transaction.py b/lib/transaction.py
@@ -425,6 +425,7 @@ def parse_input(vds):
d['sequence'] = sequence
if prevout_hash == '00'*32:
d['type'] = 'coinbase'
+ d['scriptSig'] = bh2u(scriptSig)
else:
d['x_pubkeys'] = []
d['pubkeys'] = []