From cf5c7ae0ec46140d919506e99b9ede34d9d07e0c Mon Sep 17 00:00:00 2001 From: 170210 Date: Wed, 12 Jun 2024 18:39:19 +0900 Subject: [PATCH] chore: correct comment of storeKey Signed-off-by: 170210 --- x/fswap/keeper/keys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/fswap/keeper/keys.go b/x/fswap/keeper/keys.go index e9a4652926..6bdedffd8d 100644 --- a/x/fswap/keeper/keys.go +++ b/x/fswap/keeper/keys.go @@ -6,7 +6,7 @@ var ( swappedKeyPrefix = []byte{0x03} ) -// swapKey key(prefix + fromDenom + toDenom) +// swapKey key(prefix + (lengthPrefixed+)fromDenom + (lengthPrefixed+)toDenom) func swapKey(fromDenom, toDenom string) []byte { denoms := combineDenoms(fromDenom, toDenom) return append(swapPrefix, denoms...)