Skip to content

Commit

Permalink
Fixed redeem bug (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicca42 committed Aug 4, 2021
1 parent d2e8b50 commit 6757409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Eth_broker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ contract Eth_broker {
"Curve burn failed"
);
// Getting expected ETH for DAI
uint256 ethMin = sellRewardDai(dai_.balanceOf(address(this)));
uint256 ethMin = sellRewardDai(_minDaiSellValue);
// Approving the router as a spender
require(
dai_.approve(
Expand Down

0 comments on commit 6757409

Please sign in to comment.