Skip to content

Commit

Permalink
Merge pull request #11647 from vegaprotocol/fix-root-cause-of-self-re…
Browse files Browse the repository at this point in the history
…f-errors

fix: don't pass in self to cumulated-errors
  • Loading branch information
jeremyletang authored Sep 4, 2024
2 parents f243b4f + 41799c3 commit 6415f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/processor/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,7 @@ func (app *App) CheckBatchPropose(_ context.Context, tx abci.Tx, deterministicBa
switch term := change.Change.(type) {
case *types.ProposalTermsUpdateNetworkParameter:
if err := app.netp.IsUpdateAllowed(term.UpdateNetworkParameter.Changes.Key); err != nil {
errs.Add(errs)
errs.Add(err)
}
}
}
Expand Down

0 comments on commit 6415f50

Please sign in to comment.