Skip to content

Commit

Permalink
update SetAnteHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldon committed Nov 29, 2021
1 parent b989806 commit 2a8700c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions baseapp/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ func (app *BaseApp) SetEndBlocker(endBlocker sdk.EndBlocker) {
}

func (app *BaseApp) SetAnteHandler(ah sdk.AnteHandler) {
if app.sealed {
panic("SetAnteHandler() on sealed BaseApp")
}
//if app.sealed {
// panic("SetAnteHandler() on sealed BaseApp")
//}

app.anteHandler = ah
}
Expand Down

0 comments on commit 2a8700c

Please sign in to comment.