Wrong argument passed in bridgeNftToAnotherChain cause permanent loss of NFT
In the bridgeNftToAnotherChain function, the contract bridges the NFT from a user to another chain. The function expects as a parameter the destChainBridge which later is passed in the bridgeNftWithData function of KittyBridge contract. However, this function expects the receiver address of the NFT in this chain, not the bridge address.
NFT will be lost forever since it will moved to an address that doesn't exist or isn't the receiver's address.
Manual Review
Add as second parameter in bridgeNftToAnotherChain the receiver address of the NFT in the destination chain.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.