Skip to content

Commit 6757409

Browse files
authored
Fixed redeem bug (#7)
1 parent d2e8b50 commit 6757409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/Eth_broker.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ contract Eth_broker {
339339
"Curve burn failed"
340340
);
341341
// Getting expected ETH for DAI
342-
uint256 ethMin = sellRewardDai(dai_.balanceOf(address(this)));
342+
uint256 ethMin = sellRewardDai(_minDaiSellValue);
343343
// Approving the router as a spender
344344
require(
345345
dai_.approve(

0 commit comments

Comments
 (0)