minimode python fix for earlier versions of python 3

This commit is contained in:
Ray Engelking 2018-02-06 14:00:18 -05:00
parent 0d708ceab6
commit 17f86ad568

View File

@ -443,7 +443,7 @@ class CTransaction(object):
self.sha256 = tx.sha256
self.hash = tx.hash
self.wit = copy.deepcopy(tx.wit)
self.txComment = b'%s' % tx.txComment
self.txComment = tx.txComment
def deserialize(self, f):
self.nVersion = struct.unpack("<i", f.read(4))[0]