Skip to content

Commit 4482a6c

Browse files
Remove redundant endpoint callback in _lzReceive as per #7 (#14)
1 parent 694536f commit 4482a6c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Fraxiversary.sol

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,13 +1080,6 @@ contract Fraxiversary is
10801080
_setTokenURI(tokenId, tokenUri);
10811081
isNonTransferrable[tokenId] = isSoulbound;
10821082

1083-
bytes32 composeFrom = ONFTComposeMsgCodec.addressToBytes32(address(this));
1084-
bytes memory composeInnerMsg = abi.encode(tokenUri, isSoulbound);
1085-
bytes memory composeMsg = abi.encodePacked(composeFrom, composeInnerMsg);
1086-
1087-
bytes memory composedMsgEncoded = ONFTComposeMsgCodec.encode(_origin.nonce, _origin.srcEid, composeMsg);
1088-
endpoint.sendCompose(toAddress, _guid, 0, composedMsgEncoded);
1089-
10901083
emit ONFTReceived(_guid, _origin.srcEid, toAddress, tokenId);
10911084
}
10921085

0 commit comments

Comments
 (0)