mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
fix 3954
This commit is contained in:
parent
99710099fb
commit
f3440f5a20
1 changed files with 2 additions and 1 deletions
|
@ -1039,7 +1039,8 @@ class Abstract_Wallet(PrintError):
|
||||||
out.append(item)
|
out.append(item)
|
||||||
# add summary
|
# add summary
|
||||||
if out:
|
if out:
|
||||||
start_balance = out[0]['balance'].value - out[0]['value'].value
|
b, v = out[0]['balance'].value, out[0]['value'].value
|
||||||
|
start_balance = None if b is None or v is None else b - v
|
||||||
end_balance = out[-1]['balance'].value
|
end_balance = out[-1]['balance'].value
|
||||||
if from_timestamp is not None and to_timestamp is not None:
|
if from_timestamp is not None and to_timestamp is not None:
|
||||||
start_date = timestamp_to_datetime(from_timestamp)
|
start_date = timestamp_to_datetime(from_timestamp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue