tfix --pending option - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d75d3fdf5b4ab134dca7d168aae0ecb697df26df
DIR parent bb4d175978ac39f5e6c89dc827b9d1975d283dae
HTML Author: ThomasV <thomasv@gitorious>
Date: Fri, 12 Jun 2015 20:15:53 +0200
fix --pending option
Diffstat:
M lib/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/commands.py b/lib/commands.py
t@@ -556,7 +556,7 @@ class Commands:
f = PR_PAID
else:
f = None
- if f:
+ if f is not None:
out = filter(lambda x: x.get('status')==f, out)
return map(self._format_request, out)