Commit 5fb68f4b authored by Bas van Kervel's avatar Bas van Kervel

eth: sendTransaction would not report the error when tx could not be added to tx pool

parent 707ac67b
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment