Skip to content

Commit

Permalink
Remove unused variable and function
Browse files Browse the repository at this point in the history
  • Loading branch information
ulbqb committed Jul 25, 2022
1 parent 670fa27 commit 88b2e28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions x/bank/keeper/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, &params)
Expand Down
3 changes: 0 additions & 3 deletions x/bank/types/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 88b2e28

Please sign in to comment.