tfix typo - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 22daffbbea52bf8424d970d71c60afcc730b8c63 DIR parent aad0e276c0fd5250d9f504a2471abbc143fe9796 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 26 Feb 2018 18:16:33 +0100 fix typo Diffstat: M lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1039,8 +1039,8 @@ class Abstract_Wallet(PrintError): if value < 0: acquisition_price = - value / Decimal(COIN) * self.average_price(tx_hash, fx.timestamp_rate, fx.ccy) liquidation_price = - fiat_value - item['acquisition_price'] = Fiat(aquisition_price, fx.ccy) - cg = liquidation_price - aquisition_price + item['acquisition_price'] = Fiat(acquisition_price, fx.ccy) + cg = liquidation_price - acquisition_price item['capital_gain'] = Fiat(cg, fx.ccy) capital_gains += cg fiat_expenditures += fiat_value