test_framework: Fix CTxInWitness.is_null with pegin_witness

This commit is contained in:
Gregory Sanders 2019-04-12 11:46:05 -04:00
parent 23095087f6
commit 97356e8c14

View file

@ -516,6 +516,7 @@ class CTxInWitness(object):
def is_null(self):
return len(self.vchIssuanceAmountRangeproof) == 0 \
and len(self.vchInflationKeysRangeproof) == 0 \
and self.peginWitness.is_null() \
and self.scriptWitness.is_null()