The issue at hand has been successfully resolved with the current fix. Specifically, the _approveNfts function has been designed to exit before granting approval again if it has already been granted once, effectively eliminating the problem. Additionally, the _approveNfts function is used instead of a simple approval everywhere in the ethRouter contract so there cannot be a case where this check gets negated.
The issue at hand has been successfully resolved with the current fix. Specifically, the
_approveNfts
function has been designed to exit before granting approval again if it has already been granted once, effectively eliminating the problem. Additionally, the_approveNfts
function is used instead of a simple approval everywhere in theethRouter
contract so there cannot be a case where this check gets negated.