From 2a8700cf48ebc1b0701832c9b9bc1eebb10a645b Mon Sep 17 00:00:00 2001 From: sheldon <997166273@qq.com> Date: Mon, 29 Nov 2021 11:02:20 +0800 Subject: [PATCH] update SetAnteHandler --- baseapp/options.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/baseapp/options.go b/baseapp/options.go index be9fbdc659a0..2fc3213b641c 100644 --- a/baseapp/options.go +++ b/baseapp/options.go @@ -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 }