Skip to content

Commit

Permalink
Merge pull request ethereum#434 from konradkonrad/pysha3_keccak
Browse files Browse the repository at this point in the history
Adjust to pysha3 breaking changes
closes ethereum#426
fixes ethereum#430
  • Loading branch information
konradkonrad authored Mar 3, 2017
2 parents d18c10f + f2b31f2 commit 1bde26e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ethereum/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
sha3_256 = lambda x: keccak.new(digest_bits=256, data=x).digest()
except:
import sha3 as _sha3
sha3_256 = lambda x: _sha3.sha3_256(x).digest()
sha3_256 = lambda x: _sha3.keccak_256(x).digest()
from bitcoin import privtopub
import sys
import rlp
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bitcoin
pysha3
pysha3>=1.0.1
PyYAML
repoze.lru
pbkdf2
Expand Down

0 comments on commit 1bde26e

Please sign in to comment.