Skip to content

Commit

Permalink
rename func parameter from validator to coin
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed Apr 26, 2024
1 parent d10ec6d commit 58b184c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ibctransfermiddleware/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ func GetSequenceKey(sequence uint64) []byte {
return append(SequenceFeeKey, []byte(strconv.FormatUint(sequence, 10))...)
}

func MustMarshalCoin(cdc codec.BinaryCodec, validator *types.Coin) []byte {
return cdc.MustMarshal(validator)
func MustMarshalCoin(cdc codec.BinaryCodec, coin *types.Coin) []byte {
return cdc.MustMarshal(coin)
}

// unmarshal a redelegation from a store value
Expand Down

0 comments on commit 58b184c

Please sign in to comment.