Browse Source

fix tx.is_final

283
ThomasV 9 years ago
parent
commit
8e219348e6
  1. 2
      lib/transaction.py

2
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):

Loading…
Cancel
Save