From 7d286598548e196f876ce8a6cdd186bb6effcc87 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 16 Oct 2024 21:37:32 +0200 Subject: [PATCH] revert --- simapp/app_di.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/simapp/app_di.go b/simapp/app_di.go index 9602fbc3972..b26220892e0 100644 --- a/simapp/app_di.go +++ b/simapp/app_di.go @@ -231,11 +231,11 @@ func NewSimApp( // baseAppOptions = append(baseAppOptions, prepareOpt) // create and set dummy vote extension handler - // voteExtOp := func(bApp *baseapp.BaseApp) { - // voteExtHandler := NewVoteExtensionHandler() - // voteExtHandler.SetHandlers(bApp) - // } - // baseAppOptions = append(baseAppOptions, voteExtOp, baseapp.SetOptimisticExecution()) + voteExtOp := func(bApp *baseapp.BaseApp) { + voteExtHandler := NewVoteExtensionHandler() + voteExtHandler.SetHandlers(bApp) + } + baseAppOptions = append(baseAppOptions, voteExtOp, baseapp.SetOptimisticExecution()) app.App = appBuilder.Build(db, traceStore, baseAppOptions...)