```\nFile: Curve2TokenConvexHelper.sol\n    function reinvestReward(\n        Curve2TokenConvexStrategyContext calldata context,\n        ReinvestRewardParams calldata params\n    ) external {\n..SNIP..\n        // Make sure we are joining with the right proportion to minimize slippage\n        poolContext._validateSpotPriceAndPairPrice({\n            strategyContext: strategyContext,\n            oraclePrice: poolContext.basePool._getOraclePairPrice(strategyContext),\n            primaryAmount: primaryAmount,\n            secondaryAmount: secondaryAmount\n        });\n```\n