Fixed Daemon.block bug for height=0 (#93)
If you called daemon.block(height=0) then the expression: if not height and not bhash: Is `True` because 0 is falsey. I changed that line to a slightly more wordy, but more accurate: if height is None and bhash is None:0.8.x
parent
aa8bf90561
commit
e4c35569ae
Loading…
Reference in new issue