wallet: introduce namedtuples TxMinedStatus and VerifiedTxInfo
This commit is contained in:
@@ -109,9 +109,9 @@ class ElectrumGui:
|
||||
|
||||
b = 0
|
||||
self.history = []
|
||||
for item in self.wallet.get_history():
|
||||
tx_hash, height, conf, timestamp, value, balance = item
|
||||
if conf:
|
||||
for tx_hash, tx_mined_status, value, balance in self.wallet.get_history():
|
||||
if tx_mined_status.conf:
|
||||
timestamp = tx_mined_status.timestamp
|
||||
try:
|
||||
time_str = datetime.datetime.fromtimestamp(timestamp).isoformat(' ')[:-3]
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user