diff --git a/types/mempool/priority_nonce.go b/types/mempool/priority_nonce.go index 89e21f884c59..3b92277cadf0 100644 --- a/types/mempool/priority_nonce.go +++ b/types/mempool/priority_nonce.go @@ -2,6 +2,7 @@ package mempool import ( "context" + "errors" "fmt" "math" "sync" diff --git a/types/mempool/sender_nonce.go b/types/mempool/sender_nonce.go index 34e7324d6e4e..5c2f9bf1db8e 100644 --- a/types/mempool/sender_nonce.go +++ b/types/mempool/sender_nonce.go @@ -4,6 +4,7 @@ import ( "context" crand "crypto/rand" // #nosec // crypto/rand is used for seed generation "encoding/binary" + "errors" "fmt" "math/rand" // #nosec // math/rand is used for random selection and seeded from crypto/rand "sync"