electrum

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

commit acbad0a005031cbb886ed7cf788afe67eb40cd3a
parent 8bfe34277257d975b791df89e93545923df5c726
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 14 Feb 2018 14:25:51 +0100

change names

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

diff --git a/lib/wallet.py b/lib/wallet.py @@ -1022,16 +1022,16 @@ class Abstract_Wallet(PrintError): summary = { 'start_date': format_time(from_timestamp), 'end_date': format_time(to_timestamp), - 'initial_balance': format_satoshis(init_balance), - 'final_balance': format_satoshis(end_balance), + 'start_balance': format_satoshis(init_balance), + 'end_balance': format_satoshis(end_balance), 'capital_gains': fx.format_fiat(capital_gains), 'fiat_income': fx.format_fiat(fiat_income) } if fx: start_date = timestamp_to_datetime(from_timestamp) end_date = timestamp_to_datetime(to_timestamp) - summary['initial_fiat_value'] = fx.format_fiat(fx.historical_value(init_balance, start_date)) - summary['final_fiat_value'] = fx.format_fiat(fx.historical_value(end_balance, end_date)) + summary['start_fiat_balance'] = fx.format_fiat(fx.historical_value(init_balance, start_date)) + summary['end_fiat_balance'] = fx.format_fiat(fx.historical_value(end_balance, end_date)) out.append(summary) return out