mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
test_framework: Fix CTxInWitness.is_null with pegin_witness
This commit is contained in:
parent
23095087f6
commit
97356e8c14
1 changed files with 1 additions and 0 deletions
|
|
@ -516,6 +516,7 @@ class CTxInWitness(object):
|
||||||
def is_null(self):
|
def is_null(self):
|
||||||
return len(self.vchIssuanceAmountRangeproof) == 0 \
|
return len(self.vchIssuanceAmountRangeproof) == 0 \
|
||||||
and len(self.vchInflationKeysRangeproof) == 0 \
|
and len(self.vchInflationKeysRangeproof) == 0 \
|
||||||
|
and self.peginWitness.is_null() \
|
||||||
and self.scriptWitness.is_null()
|
and self.scriptWitness.is_null()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue