Skip to content

Commit

Permalink
address CodeQL warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteHerrmann committed Aug 12, 2024
1 parent feab437 commit a3a5ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_chain/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func NewExampleApp(
app.CapabilityKeeper.Seal()

// add keepers
app.AccountKeeper = authkeeper.NewAccountKeeper(appCodec, keys[authtypes.StoreKey], authtypes.ProtoBaseAccount, maccPerms, sdk.Bech32MainPrefix, authtypes.NewModuleAddress(govtypes.ModuleName).String())
app.AccountKeeper = authkeeper.NewAccountKeeper(appCodec, keys[authtypes.StoreKey], authtypes.ProtoBaseAccount, maccPerms, sdk.GetConfig().GetBech32AccountAddrPrefix(), authtypes.NewModuleAddress(govtypes.ModuleName).String())

app.BankKeeper = bankkeeper.NewBaseKeeper(
appCodec,
Expand Down

0 comments on commit a3a5ab7

Please sign in to comment.