chore: readd set amount after wrap
@@ -235,7 +235,7 @@ contract BadgerBridgeAdapter is OwnableUpgradeable, ReentrancyGuardUpgradeable {
// NB: The curve token wrapper contract is permissionless, we must transfer renbtc over
// and it will transfer back wrapped lp tokens.
token.safeTransfer(curveTokenWrapper, amount);
- ICurveTokenWrapper(curveTokenWrapper).wrap(args._vault);
+ amount = ICurveTokenWrapper(curveTokenWrapper).wrap(args._vault);
IBridgeVault(args._vault).token().safeApprove(args._vault, amount);
}
