File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -641,7 +641,7 @@ func NewAppKeeper(
641641 // fallback (over sorted Keys()) when exact match fails. PortID "nft-transfer"
642642 // has a hyphen so we register under "nft". sorts before "transfer", is a
643643 // substring of "nft-transfer", so the fallback resolves deterministically.
644- AddRoute ("nft" , nftTransferStack ).
644+ AddRoute (ibcnfttransfertypes . IbcRouterKey , nftTransferStack ).
645645 AddRoute (ophosttypes .ModuleName , ophostStack )
646646 appKeepers .IBCKeeper .SetRouter (ibcRouter )
647647
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ const (
2929
3030 // ClassIdPrefix is the prefix used for internal class id representation.
3131 ClassIdPrefix = "ibc"
32+
33+ // IbcRouterKey is the IBC router key string for nft-transfer
34+ IbcRouterKey = "nft"
3235)
3336
3437var (
You can’t perform that action at this time.
0 commit comments