mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
errcheck: PR comment fixes
This commit is contained in:
committed by
Ethan Buchman
parent
b3c5933a23
commit
b75d4f73e7
@ -36,7 +36,7 @@ func (part *Part) Hash() []byte {
|
||||
hasher := ripemd160.New()
|
||||
_, err := hasher.Write(part.Bytes)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
// ignore error
|
||||
}
|
||||
part.hash = hasher.Sum(nil)
|
||||
return part.hash
|
||||
|
Reference in New Issue
Block a user