mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
linting errors: afew more
This commit is contained in:
committed by
Ethan Buchman
parent
8f0237610e
commit
68e7983c70
@ -30,7 +30,10 @@ func BenchmarkProposalWriteSignBytes(b *testing.B) {
|
||||
func BenchmarkProposalSign(b *testing.B) {
|
||||
privVal := GenPrivValidatorFS("")
|
||||
for i := 0; i < b.N; i++ {
|
||||
privVal.Signer.Sign(SignBytes("test_chain_id", testProposal))
|
||||
_, err := privVal.Signer.Sign(SignBytes("test_chain_id", testProposal))
|
||||
if err != nil {
|
||||
b.Error(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user