mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-20 10:09:04 +00:00
Merge branch 'master' of github.com:spesmilo/electrum
This commit is contained in:
commit
553993b4d0
1 changed files with 3 additions and 3 deletions
|
@ -987,11 +987,11 @@ class Abstract_Wallet(PrintError):
|
|||
def get_full_history(self, domain=None, from_timestamp=None, to_timestamp=None, fx=None, show_addresses=False):
|
||||
from .util import timestamp_to_datetime, Satoshis, Fiat
|
||||
out = []
|
||||
capital_gains = 0
|
||||
income = 0
|
||||
expenditures = 0
|
||||
fiat_income = 0
|
||||
fiat_expenditures = 0
|
||||
capital_gains = Decimal(0)
|
||||
fiat_income = Decimal(0)
|
||||
fiat_expenditures = Decimal(0)
|
||||
h = self.get_history(domain)
|
||||
for tx_hash, height, conf, timestamp, value, balance in h:
|
||||
if from_timestamp and (timestamp or time.time()) < from_timestamp:
|
||||
|
|
Loading…
Add table
Reference in a new issue