1
0

input_script: return txin.scriptSig if available. replace txin.is_coinbase with type. fixes #2321

This commit is contained in:
ThomasV
2017-03-21 09:08:16 +01:00
parent fdee755198
commit 1d84029173
6 changed files with 14 additions and 13 deletions

View File

@@ -242,7 +242,7 @@ class TxDialog(QDialog, MessageBoxMixin):
i_text.setMaximumHeight(100)
cursor = i_text.textCursor()
for x in self.tx.inputs():
if x.get('is_coinbase'):
if x['type'] == 'coinbase':
cursor.insertText('coinbase')
else:
prevout_hash = x.get('prevout_hash')