tsmall fix exchange_rates - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit afa814a44439f439903e94c467585bc8ce095b2c
DIR parent 75ddc066bb84c5b2d05753884b9871c39f582548
HTML Author: ThomasV <thomasv@gitorious>
Date: Sat, 2 May 2015 11:08:35 +0200
small fix exchange_rates
Diffstat:
M plugins/exchange_rate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py
t@@ -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