Skip to content

Commit

Permalink
types: use proper lowercase syntax for coins in benchmarks (#8435)
Browse files Browse the repository at this point in the history
Instead of
    COINZ_%d
use
    coinZ%d
which is the syntax accepted by types.ParseCoin, to generate
coins to use in benchmarking.

Fixes #8433
  • Loading branch information
odeke-em authored Jan 28, 2021
1 parent e2f510a commit 580e968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/coin_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func coinName(suffix int) string {
return fmt.Sprintf("COINZ_%d", suffix)
return fmt.Sprintf("coinz%d", suffix)
}

func BenchmarkCoinsAdditionIntersect(b *testing.B) {
Expand Down

0 comments on commit 580e968

Please sign in to comment.