Advertisement
Guest User

Untitled

a guest
Mar 21st, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Edit Abe/deserialize.py as so:
  2.  
  3. Lines in 90-100 range, add the lines with the + after d['lockTime'] = vds.read_uint32()
  4.  
  5. Remember spaces matter, these aren't tabs.
  6.  
  7. @@ -91,6 +91,8 @@ def parse_Transaction(vds):
  8. for i in xrange(n_vout):
  9. d['txOut'].append(parse_TxOut(vds))
  10. d['lockTime'] = vds.read_uint32()
  11. + if int(d['version']) > 1:
  12. + d['txComment'] = vds.read_string()
  13. d['__data__'] = vds.input[start_pos:vds.read_cursor]
  14. return d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement