From 580e9681a5eb41773cad73ea03647e7253704fed Mon Sep 17 00:00:00 2001 From: Emmanuel T Odeke Date: Wed, 27 Jan 2021 22:40:56 -0800 Subject: [PATCH] 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 --- types/coin_benchmark_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/coin_benchmark_test.go b/types/coin_benchmark_test.go index fc73afe87aaa..bfc2bfe99cde 100644 --- a/types/coin_benchmark_test.go +++ b/types/coin_benchmark_test.go @@ -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) {