We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e8b50 commit 6757409Copy full SHA for 6757409
contracts/Eth_broker.sol
@@ -339,7 +339,7 @@ contract Eth_broker {
339
"Curve burn failed"
340
);
341
// Getting expected ETH for DAI
342
- uint256 ethMin = sellRewardDai(dai_.balanceOf(address(this)));
+ uint256 ethMin = sellRewardDai(_minDaiSellValue);
343
// Approving the router as a spender
344
require(
345
dai_.approve(
0 commit comments