mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 08:07:22 +00:00
fix lint
This commit is contained in:
parent
2f9582c033
commit
939bca4de7
3 changed files with 3 additions and 3 deletions
|
|
@ -17,4 +17,4 @@ var _ KeccakState = (*Hasher)(nil)
|
|||
|
||||
func NewFastKeccak() *Hasher {
|
||||
return &Hasher{}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -130,4 +130,4 @@ func xorIn(state *[200]byte, data []byte) {
|
|||
for i := n << 3; i < len(data); i++ {
|
||||
state[i] ^= data[i]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ type Hasher struct{ sponge }
|
|||
func xorAndPermute(state *[200]byte, buf *byte) {
|
||||
xorIn(state, unsafe.Slice(buf, rate))
|
||||
keccakF1600(state)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue