Skip to content

Commit

Permalink
Fix linting error in contract benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald committed May 10, 2022
1 parent 7232ccd commit 6aa8930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/contracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func benchmarkPrecompiled(addr string, test precompiledTest, bench *testing.B) {
return
}
if common.Bytes2Hex(res) != test.Expected {
bench.Error(fmt.Sprintf("Expected %v, got %v", test.Expected, common.Bytes2Hex(res)))
bench.Errorf("Expected %v, got %v", test.Expected, common.Bytes2Hex(res))
return
}
})
Expand Down

0 comments on commit 6aa8930

Please sign in to comment.