clean up
This commit is contained in:
parent
4801c316fc
commit
08cfd935d6
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue