switch utils hash-function to sha256

This commit is contained in:
Danny Ryan 2019-03-26 07:17:08 -06:00
parent 7f53f257cd
commit be57cafbfb
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
# from hashlib import sha256
from eth_utils import keccak
from hashlib import sha256
# from eth_utils import keccak
# def hash(x): return sha256(x).digest()
def hash(x):
return keccak(x)
def hash(x): return sha256(x).digest()
# def hash(x): return keccak(x)