diff options
author | Bas van Kervel <bas@ethdev.com> | 2016-02-08 18:11:07 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2016-02-08 18:11:07 +0800 |
commit | 5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560 (patch) | |
tree | b8ba64c432f0fdfc15033191a999ddb149cd3a1a /eth | |
parent | 707ac67babbe9f58b35342de6529fd800a2b9401 (diff) | |
download | dexon-5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560.tar.gz dexon-5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560.tar.zst dexon-5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560.zip |
eth: sendTransaction would not report the error when tx could not be added to tx pool
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api.go | 2 |
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 { |