Incorrect implementation of _debit in function send
As can be seen in the layerzero docs, there is no msg.sender in _debit. there is no need to add msg.sender. This will lead to error in the code execution.
-debit from the implementation should take 3 arguments but the code below takes 4. msg.sender should not be a part of the arguments or params. The code will not execute as intended. This is an error.
https://docs.layerzero.network/v2/developers/evm/oft/quickstart#adding-send-logic
Incorrect implementation leads to unintended consequences or error in execution.
Manual Review
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.