Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Dec 2, 2024
1 parent d5302e2 commit 5a873c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/v2/cometbft/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ func intoABCIEvents(events []event.Event, indexSet map[string]struct{}, indexNon
indexAll := len(indexSet) == 0
abciEvents := make([]abci.Event, len(events))
for i, e := range events {
attrs := make([]event.Attribute, 0)
var err error
attrs, err = e.Attributes()
attrs, err := e.Attributes()
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 5a873c5

Please sign in to comment.