small fix exchange_rates

This commit is contained in:
ThomasV 2015-05-02 11:08:35 +02:00
parent 75ddc066bb
commit afa814a444
1 changed files with 1 additions and 1 deletions

View File

@ -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