types: use proper lowercase syntax for coins in benchmarks (#8435)

Instead of
    COINZ_%d
use
    coinZ%d
which is the syntax accepted by types.ParseCoin, to generate
coins to use in benchmarking.

Fixes #8433
This commit is contained in:
Emmanuel T Odeke 2021-01-27 22:40:56 -08:00 committed by GitHub
parent e2f510afcc
commit 580e9681a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {