diff --git a/cosmos/modules/ibc/types.go b/cosmos/modules/ibc/types.go index 72a1943..944c22f 100644 --- a/cosmos/modules/ibc/types.go +++ b/cosmos/modules/ibc/types.go @@ -2,6 +2,7 @@ package ibc import ( "fmt" + "strings" parsingTypes "github.com/DefiantLabs/cosmos-tax-cli/cosmos/modules" txModule "github.com/DefiantLabs/cosmos-tax-cli/cosmos/modules/tx" @@ -79,6 +80,13 @@ func (w *WrapperMsgRecvPacket) HandleMsg(msgType string, msg stdTypes.Msg, log * return nil } + senderAddress := data.Sender + receiverAddress := data.Receiver + + if strings.Contains(senderAddress, "wormhole") || strings.Contains(receiverAddress, "wormhole") { + return nil + } + w.SenderAddress = data.Sender w.ReceiverAddress = data.Receiver w.Sequence = w.MsgRecvPacket.Packet.Sequence