vbuterin / pybitcointools

SImple, common-sense Bitcoin-themed Python ECC library
1.3k stars 860 forks source link

Two undefined name errors in Python 2 #175

Closed cclauss closed 5 years ago

cclauss commented 7 years ago

flake8 testing of https://github.com/vbuterin/pybitcointools on Python 2.7.13

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./bitcoin/bci.py:532:12: F821 undefined name 'bin_dbl_sha256'
    assert bin_dbl_sha256(txh.decode('hex')).encode('hex') == hash, "checksum mismatch %s" % hash
           ^

./bitcoin/mnemonic.py:74:9: F821 undefined name '_eint_to_bytes'
    ebytes=_eint_to_bytes(eint,entropy_bits)
        ^