From 5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Mon, 8 Feb 2016 11:11:07 +0100 Subject: [PATCH] eth: sendTransaction would not report the error when tx could not be added to tx pool --- eth/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/api.go b/eth/api.go index 617643e108..5265905892 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 {