Skip to content
Permalink
Browse files

test: Correctly deserialize without witness

  • Loading branch information...
MarcoFalke committed Dec 11, 2018
1 parent 234b99b commit fae3617d79deee73dd375dc3ea5f4204a74420c5
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/functional/test_framework/messages.py
@@ -450,6 +450,8 @@ def deserialize(self, f):
if flags != 0:
self.wit.vtxinwit = [CTxInWitness() for i in range(len(self.vin))]
self.wit.deserialize(f)
else:
self.wit = CTxWitness()
self.nLockTime = struct.unpack("<I", f.read(4))[0]
self.sha256 = None
self.hash = None

0 comments on commit fae3617

Please sign in to comment.
You can’t perform that action at this time.