mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
better error message
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
31a53d15a7
commit
76ad66a1f1
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ func newHandler(config *handlerConfig) (*handler, error) {
|
|||
}
|
||||
// check on chain as well (no need to check limbo separately, as chain checks limbo too)
|
||||
if h.chain.HasCanonicalTransaction(hash, true) {
|
||||
return txpool.ErrAlreadyKnown
|
||||
return core.ErrNonceTooLow
|
||||
}
|
||||
if !h.txpool.FilterType(kind) {
|
||||
return types.ErrTxTypeNotSupported
|
||||
|
|
|
|||
Loading…
Reference in a new issue