From 53fad12fe60e4248e74a476578cf1999e3d3ba34 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 26 Apr 2024 17:43:33 +0200 Subject: [PATCH] fix trace-prefix index order --- ibc-apps/ics20-transfer/types/src/denom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibc-apps/ics20-transfer/types/src/denom.rs b/ibc-apps/ics20-transfer/types/src/denom.rs index 5cae4701d..8ac632fea 100644 --- a/ibc-apps/ics20-transfer/types/src/denom.rs +++ b/ibc-apps/ics20-transfer/types/src/denom.rs @@ -326,7 +326,7 @@ impl FromStr for PrefixedDenom { type Err = TokenTransferError; /// Initializes a [`PrefixedDenom`] from a string that adheres to the format - /// `{1st-port-id/channel-}/{2nd-port-id/channel-}/.../{nth-port-id/channel-}/`. + /// `{nth-port-id/channel-}/{(n-1)th-port-id/channel-}/.../{1st-port-id/channel-}/`. /// A [`PrefixedDenom`] exhibits a sequence of `{ith-port-id/channel-}` pairs. /// This sequence makes up the [`TracePath`] of the [`PrefixedDenom`]. ///