fix tx.is_final
This commit is contained in:
parent
4a0994be8a
commit
8e219348e6
|
@ -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…
Reference in New Issue