tfix: missing parameter - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2829de5d49460cfdc68a8e4eb371ecdfda0e2b3d DIR parent cc55d78b7c84a3c63d4d5246a1b1d72cfced61aa HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 13 Feb 2018 09:47:25 +0100 fix: missing parameter Diffstat: M lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -988,7 +988,7 @@ class Abstract_Wallet(PrintError): item['fiat_value'] = fx.historical_value_str(value, date) item['fiat_balance'] = fx.historical_value_str(balance, date) if value < 0: - item['capital_gain'] = self.capital_gain(tx_hash, fx.timestamp_rate) + item['capital_gain'] = self.capital_gain(tx_hash, fx.timestamp_rate, fx.ccy) out.append(item) return out