commit 2d84deeaad3f7f2e5706db7a562d8cec8a41c9ca parent ec11e58added4aac33bb99ec08418ebc58deb000 Author: ThomasV <thomasv@gitorious> Date: Mon, 30 Mar 2015 14:01:07 +0200 sanity check history Diffstat:
M | lib/wallet.py | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py @@ -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