Skip to content

Commit

Permalink
fix: update codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Jan 8, 2024
1 parent 619e84e commit c50f9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txpool/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit c50f9cf

Please sign in to comment.