all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
As we aren't really using the standarized SHA-3
This commit is contained in:
@ -67,7 +67,7 @@ func NewNode(id NodeID, ip net.IP, udpPort, tcpPort uint16) *Node {
|
||||
UDP: udpPort,
|
||||
TCP: tcpPort,
|
||||
ID: id,
|
||||
sha: crypto.Sha3Hash(id[:]),
|
||||
sha: crypto.Keccak256Hash(id[:]),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user