Skip to content

Commit

Permalink
Update app.go
Browse files Browse the repository at this point in the history
  • Loading branch information
bouchmann authored Dec 25, 2024
1 parent 05d1acd commit 273f471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util/malicious/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ func New(
badApp := &App{App: goodApp}

// set the malicious prepare proposal handler if it is set in the app options
if malHanderName := appOpts.Get(BehaviorConfigKey); malHanderName != nil {
badApp.SetMaliciousBehavior(malHanderName.(BehaviorConfig))
if malHandlerName := appOpts.Get(BehaviorConfigKey); malHandlerName != nil {
badApp.SetMaliciousBehavior(malHandlerName.(BehaviorConfig))
}

return badApp
Expand Down

0 comments on commit 273f471

Please sign in to comment.