This commit is contained in:
mdr0id 2019-12-19 18:08:01 -08:00
parent 4801c316fc
commit 08cfd935d6
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class TxStore(object):
serialized_tx = self.txDB[repr(txhash)]
except KeyError:
return None
f = io.StringIO(serialized_tx)
f = io.BytesIO(serialized_tx)
ret = CTransaction()
ret.deserialize(f)
ret.calc_sha256()