Browse Source

qml: tx.txid() can be None in qetxfinalizer. fixes (#8807)

master
Sander van Grieken 2 years ago
parent
commit
10be631039
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 2
      electrum/gui/qml/qetxfinalizer.py

2
electrum/gui/qml/qetxfinalizer.py

@ -253,7 +253,7 @@ class TxFeeSlider(FeeSlider):
outputs.append({
'address': o.get_ui_address_str(),
'value': o.value,
'short_id': str(TxOutpoint(bytes.fromhex(tx.txid()), idx).short_name()),
'short_id': str(TxOutpoint(bytes.fromhex(tx.txid()), idx).short_name()) if tx.txid() else '',
'is_mine': self._wallet.wallet.is_mine(o.get_ui_address_str()),
'is_change': self._wallet.wallet.is_change(o.get_ui_address_str()),
'is_billing': self._wallet.wallet.is_billing_address(o.get_ui_address_str())

Loading…
Cancel
Save