From 9aa3a6406517c3e479904ba4ce0302c387fd2fc3 Mon Sep 17 00:00:00 2001 From: Unique-Divine Date: Thu, 31 Oct 2024 13:23:41 -0500 Subject: [PATCH] fix incorrect arugmetn --- x/evm/keeper/bank_extension.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/evm/keeper/bank_extension.go b/x/evm/keeper/bank_extension.go index 9272ff590..da5221cbb 100644 --- a/x/evm/keeper/bank_extension.go +++ b/x/evm/keeper/bank_extension.go @@ -38,7 +38,7 @@ func (bk NibiruBankKeeper) MintCoins( return err } if findEtherBalanceChangeFromCoins(coins) { - moduleBech32Addr := auth.NewModuleAddress(evm.ModuleName) + moduleBech32Addr := auth.NewModuleAddress(moduleName) bk.SyncStateDBWithAccount(ctx, moduleBech32Addr) } return nil @@ -54,7 +54,7 @@ func (bk NibiruBankKeeper) BurnCoins( return err } if findEtherBalanceChangeFromCoins(coins) { - moduleBech32Addr := auth.NewModuleAddress(evm.ModuleName) + moduleBech32Addr := auth.NewModuleAddress(moduleName) bk.SyncStateDBWithAccount(ctx, moduleBech32Addr) } return nil