From 056797cb5710d4a8ee28f032849073542d0a6771 Mon Sep 17 00:00:00 2001 From: slandymani Date: Thu, 24 Oct 2024 14:33:38 +0300 Subject: [PATCH] fix send nft tx path --- modules/nft/handle_msg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nft/handle_msg.go b/modules/nft/handle_msg.go index f810ccb0b..eb40c563a 100644 --- a/modules/nft/handle_msg.go +++ b/modules/nft/handle_msg.go @@ -18,7 +18,7 @@ var msgFilter = map[string]bool{ "/onft.v1.MsgCreateNFTClass": true, "/onft.v1.MsgTransferClassOwnership": true, "/onft.v1.MsgMintNFT": true, - "/nft.v1beta1.MsgSend": true, + "/cosmos.nft.v1beta1.MsgSend": true, "/cosmwasm.wasm.v1.MsgExecuteContract": true, } @@ -42,7 +42,7 @@ func (m *Module) HandleMsg(index int, msg juno.Message, tx *juno.Transaction) er case "/onft.v1.MsgMintNFT": cosmosMsg := utils.UnpackMessage(m.cdc, msg.GetBytes(), &onfttypes.MsgMintNFT{}) return m.handleMsgMintNFT(index, tx, cosmosMsg) - case "/nft.v1beta1.MsgSend": + case "/cosmos.nft.v1beta1.MsgSend": cosmosMsg := utils.UnpackMessage(m.cdc, msg.GetBytes(), &nft.MsgSend{}) return m.handleMsgSend(tx, cosmosMsg) case "/cosmwasm.wasm.v1.MsgExecuteContract":