Merge pull request #2183 from bas-vk/issue2180

eth_sendTransaction, error not reported
This commit is contained in:
Péter Szilágyi 2016-02-08 12:41:39 +02:00
commit 856b9e9c50

View File

@ -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 {