Skip to content

Commit

Permalink
properly check err in ut (#1324)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Aug 29, 2024
1 parent 8e9dbc0 commit ef2f4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/evm/gossiper_eth_gossiping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func TestMempoolEthTxsAppGossipHandling(t *testing.T) {

// Txs must be submitted over the API to be included in push gossip.
// (i.e., txs received via p2p are not included in push gossip)
vm.eth.APIBackend.SendTx(context.Background(), tx)
err = vm.eth.APIBackend.SendTx(context.Background(), tx)
assert.NoError(err)
assert.False(txRequested, "tx should not be requested")

Expand Down

0 comments on commit ef2f4fd

Please # to comment.