Skip to content

Commit

Permalink
fix incorrect arugmetn
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Oct 31, 2024
1 parent a04fd06 commit 9aa3a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/evm/keeper/bank_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9aa3a64

Please sign in to comment.