fix tx.is_final

This commit is contained in:
ThomasV 2016-07-29 12:53:49 +02:00
parent 4a0994be8a
commit 8e219348e6
1 changed files with 1 additions and 1 deletions

View File

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