commit 8e219348e6d84356bff5ab059c3e0cb0498feca7 parent 4a0994be8accf3bb79e640d8ee4e2b7efe1ae102 Author: ThomasV <thomasv@electrum.org> Date: Fri, 29 Jul 2016 12:53:49 +0200 fix tx.is_final Diffstat:
M | lib/transaction.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/transaction.py b/lib/transaction.py @@ -727,7 +727,7 @@ class Transaction: return self.input_value() - self.output_value() def is_final(self): - return not any([x.get('sequence') < 0xffffffff - 1 for x in self.inputs()]) + return not any([x.get('sequence', 0xffffffff) < 0xffffffff - 1 for x in self.inputs()]) @profiler def estimated_size(self):