fix tx.is_final
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user