mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
sanity check history
This commit is contained in:
parent
ec11e58add
commit
2d84deeaad
1 changed files with 6 additions and 0 deletions
|
@ -761,6 +761,12 @@ class Abstract_Wallet(object):
|
|||
else:
|
||||
balance = None
|
||||
|
||||
assert balance in [None, 0]
|
||||
#if balance not in [None, 0]:
|
||||
# print_error("history error")
|
||||
# self.clear_history()
|
||||
# self.update()
|
||||
|
||||
return h2
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue