go-ethereum/parser.py

6 lines
112 B
Python

import rlp
def parse(inp):
if inp[0] == '\x00':
return { "type": "transaction", "data": rlp.parse(