Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update x/nft-transfer/keeper/relay.go
Browse files Browse the repository at this point in the history
Co-authored-by: Devashish Dixit <[email protected]>
Signed-off-by: mmsqe <[email protected]>
mmsqe and devashishdxt authored Jan 2, 2024
1 parent 4e4b87a commit f88294c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x/nft-transfer/keeper/relay.go
Original file line number Diff line number Diff line change
@@ -89,11 +89,7 @@ func (k Keeper) SendTransfer(
return err
}

bz, err := packet.Marshal()
if err != nil {
return err
}
if _, err := k.ics4Wrapper.SendPacket(ctx, channelCap, sourcePort, sourceChannel, timeoutHeight, timeoutTimestamp, bz); err != nil {
if _, err := k.ics4Wrapper.SendPacket(ctx, channelCap, sourcePort, sourceChannel, timeoutHeight, timeoutTimestamp, packet.GetData()); err != nil {
return err
}

0 comments on commit f88294c

Please sign in to comment.