diff --git a/x/bank/keeper/send.go b/x/bank/keeper/send.go index 043471e05c..6aba1be430 100644 --- a/x/bank/keeper/send.go +++ b/x/bank/keeper/send.go @@ -58,10 +58,6 @@ func NewBaseSendKeeper( } } -func AddressToPrefixKey(addr sdk.AccAddress) []byte { - return []byte(addr.String() + types.AddressDenomDelimiter) -} - // GetParams returns the total set of bank parameters. func (k BaseSendKeeper) GetParams(ctx sdk.Context) (params types.Params) { k.paramSpace.GetParamSet(ctx, ¶ms) diff --git a/x/bank/types/key.go b/x/bank/types/key.go index 66dec0c4ec..a85dd983ab 100644 --- a/x/bank/types/key.go +++ b/x/bank/types/key.go @@ -26,9 +26,6 @@ var ( BalancesPrefix = []byte{0x02} SupplyKey = []byte{0x00} DenomMetadataPrefix = []byte{0x1} - - // Contract: Address must not contain this character - AddressDenomDelimiter = "," ) // DenomMetadataKey returns the denomination metadata key.