diff --git a/eth/api.go b/eth/api.go index 617643e10..526590589 100644 --- a/eth/api.go +++ b/eth/api.go @@ -999,7 +999,7 @@ func (s *PublicTransactionPoolAPI) SendTransaction(args SendTxArgs) (common.Hash s.txPool.SetLocal(signedTx) if err := s.txPool.Add(signedTx); err != nil { - return common.Hash{}, nil + return common.Hash{}, err } if contractCreation {