8000 keychecker.py crashes with ValueError in bitcoin.bin_to_b58check · Issue #2 · tezos/fundraiser-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
keychecker.py crashes with ValueError in bitcoin.bin_to_b58check #2
Open
@fredcy

Description

@fredcy

When I run keychecker.py it crashes immediately like this:

$ python keychecker.py a b c d e f g h i j k l m n o user@example.com testing
public key hash:
Traceback (most recent call last):
  File "keychecker.py", line 47, in <module>
    print "public key hash: ", tezos_pkh(pkh)
  File "keychecker.py", line 24, in tezos_pkh
    return bitcoin.bin_to_b58check(pkh.digest(), magicbyte=434591)
  File "/Users/fcy/Documents/Projects/tezos/fundraiser-tools/pykeychecker/ve/lib/python2.7/site-packages/bitcoin/py2specials.py", line 43, in bin_to_b58check
    inp_fmtd = chr(int(magicbyte)) + inp
ValueError: chr() arg not in range(256)

I'm using Python 2.7.10 on macOS 10.12.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0