electrum

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

commit 22daffbbea52bf8424d970d71c60afcc730b8c63
parent aad0e276c0fd5250d9f504a2471abbc143fe9796
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 26 Feb 2018 18:16:33 +0100

fix typo

Diffstat:
Mlib/wallet.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -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