Skip to content

Commit

Permalink
fix send nft tx path
Browse files Browse the repository at this point in the history
  • Loading branch information
slandymani committed Oct 24, 2024
1 parent 3d71f94 commit 056797c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nft/handle_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand All @@ -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":
Expand Down

0 comments on commit 056797c

Please sign in to comment.