From 5fb68f4b39b91fec33dc5a7096f1f6f9af7bc560 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Mon, 8 Feb 2016 11:11:07 +0100 Subject: 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(-) (limited to 'eth/api.go') 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 { -- cgit v1.2.3