mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 00:53:47 +00:00
eth: sendTransaction would not report the error when tx could not be added to tx pool
This commit is contained in:
parent
707ac67bab
commit
5fb68f4b39
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue