tMerge pull request #1180 from pooler/exchange-tx-value - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit df73b8017a3a367f85ad8a8f7012fa80ab77415d DIR parent 30b189f68a8a35bd59141f0e1cc0060ce153b4f0 HTML Author: ThomasV <electrumdev@gmail.com> Date: Thu, 30 Apr 2015 20:49:36 +0200 Merge pull request #1180 from pooler/exchange-tx-value Fix variable reference in Exchange Rates plugin 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@@ -347,7 +347,7 @@ class Plugin(BasePlugin): if self.cur_exchange == "CoinDesk": tx_time_str = datetime.datetime.fromtimestamp(tx_time).strftime('%Y-%m-%d') try: - tx_fiat_val = "%.2f %s" % (value * Decimal(self.resp_hist['bpi'][tx_time_str]), "USD") + tx_fiat_val = "%.2f %s" % (tx_value * Decimal(self.resp_hist['bpi'][tx_time_str]), "USD") except KeyError: tx_fiat_val = "%.2f %s" % (self.btc_rate * Decimal(str(tx_info['value']))/100000000 , "USD") elif self.cur_exchange == "Winkdex":