diff --git a/monero/daemon.py b/monero/daemon.py index 0b8d4e7..6f4831e 100644 --- a/monero/daemon.py +++ b/monero/daemon.py @@ -74,7 +74,7 @@ class Daemon(object): :rtype: :class:`Block ` """ - if not height and not bhash: + if height is None and bhash is None: raise ValueError("Height or hash must be specified") return self._backend.block(bhash=bhash, height=height)