electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 2829de5d49460cfdc68a8e4eb371ecdfda0e2b3d
parent cc55d78b7c84a3c63d4d5246a1b1d72cfced61aa
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 13 Feb 2018 09:47:25 +0100

fix: missing parameter

Diffstat:
Mlib/wallet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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