aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
Diffstat (limited to 'eth')
-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 {