Post
Topic
Board Altcoin Discussion
Re: [Bounty: 100 YAC] Corrupted YAC Wallet
by
Mushoz
on 05/12/2013, 17:19:31 UTC
Pywallet works fine on a new wallet, but fails on the corrupted wallet. I'm getting the following error:

Traceback (most recent call last):
  File "C:\Users\Jaap\Desktop\pywallet.py", line 2059, in parse_wallet
    d['txIn'].append(parse_TxIn(vds))
  File "C:\Users\Jaap\Desktop\pywallet.py", line 2028, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "C:\Users\Jaap\Desktop\pywallet.py", line 1942, in read_uint32
    def read_uint32(self): return self._read_num('  File "C:\Users\Jaap\Desktop\pywallet.py", line 1981, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes