From c50f9cf94d432fece994e6fac1f6ee0ca9f9b4a1 Mon Sep 17 00:00:00 2001 From: Darren Kelly Date: Mon, 8 Jan 2024 17:32:58 +0000 Subject: [PATCH] fix: update codeql --- txpool/tx_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txpool/tx_pool.go b/txpool/tx_pool.go index 807d5b600..0251957a1 100644 --- a/txpool/tx_pool.go +++ b/txpool/tx_pool.go @@ -184,7 +184,7 @@ func (p *TxPool) fetchBlocklistLoop() { for { // delay 1~2 min - randomNum, err := rand.Int(rand.Reader, new(big.Int).Sub(big.NewInt(60), big.NewInt(121))) + randomNum, err := rand.Int(rand.Reader, new(big.Int).Sub(big.NewInt(121), big.NewInt(60))) if err != nil { randomNum = big.NewInt(90) }