aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-08 18:41:39 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-08 18:41:39 +0800
commit856b9e9c500dae60ed84e75d9577b2deb504558e (patch)
treeb8ba64c432f0fdfc15033191a999ddb149cd3a1a
parent707ac67babbe9f58b35342de6529fd800a2b9401 (diff)
parent5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560 (diff)
downloaddexon-856b9e9c500dae60ed84e75d9577b2deb504558e.tar.gz
dexon-856b9e9c500dae60ed84e75d9577b2deb504558e.tar.zst
dexon-856b9e9c500dae60ed84e75d9577b2deb504558e.zip
Merge pull request #2183 from bas-vk/issue2180
eth_sendTransaction, error not reported
-rw-r--r--eth/api.go2
1 files changed, 1 insertions, 1 deletions
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 {