From 7e50c2f9bf3c13b2accd97d5aa3647a7bc5a6726 Mon Sep 17 00:00:00 2001 From: 6h057 <15034695+omarsy@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:20:19 +0200 Subject: [PATCH] fix: use tori as bech32 prefix instead of cosmos (#90) --- app/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index bb9b249..2359d17 100644 --- a/app/app.go +++ b/app/app.go @@ -11,6 +11,7 @@ import ( wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/TERITORI/teritori-chain/app/keepers" + toriparams "github.com/TERITORI/teritori-chain/app/params" "github.com/TERITORI/teritori-chain/app/upgrades" v130 "github.com/TERITORI/teritori-chain/app/upgrades/v130" v131 "github.com/TERITORI/teritori-chain/app/upgrades/v131" @@ -370,7 +371,7 @@ func NewTeritoriApp( keys[authtypes.StoreKey], authtypes.ProtoBaseAccount, maccPerms, - sdk.Bech32PrefixAccAddr, + toriparams.Bech32PrefixAccAddr, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) app.BankKeeper = bankkeeper.NewBaseKeeper(