From 2829de5d49460cfdc68a8e4eb371ecdfda0e2b3d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 13 Feb 2018 09:47:25 +0100 Subject: [PATCH] fix: missing parameter --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 9e673e90..454e018c 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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