electrum

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

commit 51630416fc2e1b7bdea2e008f3f8f42d40fdd615
parent 31edc419fabe408f1eb980736ec52916a3b39373
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 27 Feb 2018 15:26:39 +0100

fix expenditures sign

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

diff --git a/lib/wallet.py b/lib/wallet.py @@ -1042,7 +1042,7 @@ class Abstract_Wallet(PrintError): cg = liquidation_price - acquisition_price item['capital_gain'] = Fiat(cg, fx.ccy) capital_gains += cg - fiat_expenditures += fiat_value + fiat_expenditures += -fiat_value else: fiat_income += fiat_value out.append(item)