commit afa814a44439f439903e94c467585bc8ce095b2c
parent 75ddc066bb84c5b2d05753884b9871c39f582548
Author: ThomasV <thomasv@gitorious>
Date: Sat, 2 May 2015 11:08:35 +0200
small fix exchange_rates
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/exchange_rate.py b/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