small fix exchange_rates
This commit is contained in:
parent
75ddc066bb
commit
afa814a444
|
@ -338,7 +338,7 @@ class Plugin(BasePlugin):
|
||||||
try:
|
try:
|
||||||
tx_info = self.tx_list[str(item.data(0, Qt.UserRole).toPyObject())]
|
tx_info = self.tx_list[str(item.data(0, Qt.UserRole).toPyObject())]
|
||||||
except Exception:
|
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]
|
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}
|
tx_info = {'timestamp':int(time.time()), 'value': v}
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue