Skip to content

Commit

Permalink
allow pica12smx2wdlyttvyzvzg54y2vnqwq2qjate0ww798 in local
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Apr 15, 2024
1 parent a7a23c9 commit 90a521b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bech32-migration/transfermiddleware/transfermiddleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc cod
newPrefixAddr := utils.ConvertAccAddr(trimedAddr)
store.Set(types.GetKeyByRlyAddress(newPrefixAddr), relayAddressPrefix)
}
if allowRelayAddressCount == 0 {
//TODO: only using in localtest
store.Set(types.GetKeyByRlyAddress("pica12smx2wdlyttvyzvzg54y2vnqwq2qjate0ww798"), relayAddressPrefix)
}

ctx.Logger().Info(
"Migration of address bech32 for transfermiddleware module done",
Expand Down

0 comments on commit 90a521b

Please sign in to comment.