minimode python fix for earlier versions of python 3
This commit is contained in:
parent
0d708ceab6
commit
17f86ad568
@ -443,7 +443,7 @@ class CTransaction(object):
|
|||||||
self.sha256 = tx.sha256
|
self.sha256 = tx.sha256
|
||||||
self.hash = tx.hash
|
self.hash = tx.hash
|
||||||
self.wit = copy.deepcopy(tx.wit)
|
self.wit = copy.deepcopy(tx.wit)
|
||||||
self.txComment = b'%s' % tx.txComment
|
self.txComment = tx.txComment
|
||||||
|
|
||||||
def deserialize(self, f):
|
def deserialize(self, f):
|
||||||
self.nVersion = struct.unpack("<i", f.read(4))[0]
|
self.nVersion = struct.unpack("<i", f.read(4))[0]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user