ethereum / serpent

Other
366 stars 107 forks source link

Fix pretty_compile command #104

Closed j1o1h1n closed 8 years ago

j1o1h1n commented 8 years ago

Following the samples on the wiki tutorial, I ran

$ serpent pretty_compile mul2.se
Traceback (most recent call last):
  File "/usr/local/var/pyenv/versions/ethereum/bin/serpent", line 9, in <module>
    load_entry_point('ethereum-serpent==2.0.2', 'console_scripts', 'serpent')()
...
    print(binascii.b2a_hex(o).decode('ascii'))
TypeError: a bytes-like object is required, not 'map'

This has a trivial fix. However, I was unable to run the test suite.