mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-10 14:00:33 +00:00
Get rid of an unnecessary temporary.
This commit is contained in:
@@ -92,8 +92,7 @@ func TestTxFuncs(t *testing.T) {
|
||||
{Type: "account", Attributes: []abci.EventAttribute{{Key: "owner", Value: "Ivan", Index: true}}},
|
||||
{Type: "", Attributes: []abci.EventAttribute{{Key: "not_allowed", Value: "Vlad", Index: true}}},
|
||||
})
|
||||
err = indexer.IndexTxEvents([]*abci.TxResult{txResult})
|
||||
require.NoError(t, err)
|
||||
require.NoError(t, indexer.IndexTxEvents([]*abci.TxResult{txResult}))
|
||||
|
||||
tx, err := verifyTx(types.Tx(txResult.Tx).Hash())
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user