From c72bed245064640c676ea22ad926fb55f336e0c4 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 31 Jul 2021 17:20:46 +0700 Subject: [PATCH] complexify test --- txpool/pool_fuzz_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txpool/pool_fuzz_test.go b/txpool/pool_fuzz_test.go index 552ca6e93..d13062ca4 100644 --- a/txpool/pool_fuzz_test.go +++ b/txpool/pool_fuzz_test.go @@ -151,8 +151,8 @@ func poolsFromFuzzBytes(s1, s2, s3 []uint8, rawTxNonce, rawValues, rawSender, ra } senders[id] = SenderInfo{ - nonce: senderNonce[int(id)%len(senderNonce)], - balance: senderBalance[int(id)%len(senderBalance)], + nonce: senderNonce[uint(id)%uint(len(senderNonce))], + balance: senderBalance[uint(id)%uint(len(senderBalance))], txNonce2Tx: &Nonce2Tx{btree.New(32)}, } }