Ethereum from scratch - Part 1: Ping

by mikejf, July 20, 2017, 8:47 a.m., 9 comments

Subscribe

Comments


This is a single comment thread.
0 rickw 6 months ago

The version byte '\x03' yields this error on rip.encode:

TypeError: Did not find sedes handling type str

installing rlp from GitHub fixes this

then this line needs an .encode()

payload = sig_serialized[0] + chr(sig_serialized[1]).encode() + payload