mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 13:06:34 +00:00
switch utils hash-function to sha256
This commit is contained in:
parent
7f53f257cd
commit
be57cafbfb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user