Browse Source

small fix exchange_rates

283
ThomasV 10 years ago
parent
commit
afa814a444
  1. 2
      plugins/exchange_rate.py

2
plugins/exchange_rate.py

@ -338,7 +338,7 @@ class Plugin(BasePlugin):
try:
tx_info = self.tx_list[str(item.data(0, Qt.UserRole).toPyObject())]
except Exception:
newtx = self.wallet.get_tx_history()
newtx = self.wallet.get_history()
v = newtx[[x[0] for x in newtx].index(str(item.data(0, Qt.UserRole).toPyObject()))][3]
tx_info = {'timestamp':int(time.time()), 'value': v}
pass

Loading…
Cancel
Save