mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
follow-up prev commit
This commit is contained in:
parent
a2a25e4738
commit
e373f50596
1 changed files with 2 additions and 1 deletions
|
@ -863,7 +863,8 @@ class Transaction:
|
|||
if not self.is_segwit():
|
||||
return 0
|
||||
inputs = self.inputs()
|
||||
witness = ''.join(self.serialize_witness(x, True) for x in inputs)
|
||||
estimate = not self.is_complete()
|
||||
witness = ''.join(self.serialize_witness(x, estimate) for x in inputs)
|
||||
witness_size = len(witness) // 2 + 2 # include marker and flag
|
||||
return witness_size
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue