Skip to content

Commit 856b9e9

Browse files
committed
Merge pull request bnb-chain#2183 from bas-vk/issue2180
eth_sendTransaction, error not reported
2 parents 707ac67 + 5fb68f4 commit 856b9e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎eth/api.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ func (s *PublicTransactionPoolAPI) SendTransaction(args SendTxArgs) (common.Hash
999999

10001000
s.txPool.SetLocal(signedTx)
10011001
if err := s.txPool.Add(signedTx); err != nil {
1002-
return common.Hash{}, nil
1002+
return common.Hash{}, err
10031003
}
10041004

10051005
if contractCreation {

0 commit comments

Comments
 (0)