diff --git a/watch_address b/watch_address index d6146f89..9d7b3816 100755 --- a/watch_address +++ b/watch_address @@ -18,7 +18,7 @@ while True: elif method == 'blockchain.address.get_history': confirmed = unconfirmed = 0 h = r.get('result') - if not h: + if h is None: continue for item in h: v = item['value']