1
0

update occurences of get_history

This commit is contained in:
ThomasV
2015-03-30 20:17:24 +02:00
parent 81372ffe4b
commit f051a3e577
5 changed files with 11 additions and 15 deletions

View File

@@ -1171,7 +1171,7 @@ class ElectrumWindow:
self.history_list.clear()
for item in self.wallet.get_history():
tx_hash, conf, is_mine, value, fee, balance, timestamp = item
tx_hash, conf, value, timestamp, balance = item
if conf > 0:
try:
time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3]
@@ -1199,6 +1199,7 @@ class ElectrumWindow:
import datetime
if not tx_hash: return ''
tx = self.wallet.transactions.get(tx_hash)
tx.deserialize()
is_relevant, is_mine, v, fee = self.wallet.get_wallet_delta(tx)
conf, timestamp = self.wallet.verifier.get_confirmations(tx_hash)