mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-02 23:05:18 +00:00
update error message
This commit is contained in:
parent
c70b0a1c2b
commit
e41c65c92d
@ -203,7 +203,7 @@ func (mp *PriorityNonceMempool) Insert(ctx context.Context, tx sdk.Tx) error {
|
||||
}
|
||||
|
||||
if !mp.canInsert(txInfo.sender) {
|
||||
return errMempoolTooManyTxs
|
||||
return errors.Wrapf(errMempoolTooManyTxs, "sender %s has too many txs in mempool", txInfo.sender)
|
||||
}
|
||||
|
||||
// init sender index if not exists
|
||||
|
Loading…
Reference in New Issue
Block a user