From 10d3056dcad7dfc69001a86c6e11fa7e81378d95 Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:06:23 +0200 Subject: [PATCH] fix: missing arg --- x/margin/module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/margin/module.go b/x/margin/module.go index 358e61d75..18fa1f189 100644 --- a/x/margin/module.go +++ b/x/margin/module.go @@ -147,8 +147,8 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw func (AppModule) ConsensusVersion() uint64 { return 2 } // BeginBlock contains the logic that is automatically triggered at the beginning of each block -func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) { - am.keeper.BeginBlocker() +func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { + am.keeper.BeginBlocker(ctx) } // EndBlock contains the logic that is automatically triggered at the end of each block