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

This commit is contained in:
Bas van Kervel 2016-02-08 11:11:07 +01:00
parent 707ac67bab
commit 5fb68f4b39

@ -999,7 +999,7 @@ func (s *PublicTransactionPoolAPI) SendTransaction(args SendTxArgs) (common.Hash
s.txPool.SetLocal(signedTx) s.txPool.SetLocal(signedTx)
if err := s.txPool.Add(signedTx); err != nil { if err := s.txPool.Add(signedTx); err != nil {
return common.Hash{}, nil return common.Hash{}, err
} }
if contractCreation { if contractCreation {