mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Removed comment.s
This commit is contained in:
parent
b230ca57b5
commit
4dba6769c7
|
@ -1,5 +1,3 @@
|
||||||
// charge fees in dai2eth maybe
|
|
||||||
|
|
||||||
pragma solidity 0.4.24;
|
pragma solidity 0.4.24;
|
||||||
|
|
||||||
|
|
||||||
|
@ -135,9 +133,6 @@ contract LoopNewCDP is GlobalVar {
|
||||||
resolveSwap.dai2eth(dai2Mint); // DAI >>> ETH
|
resolveSwap.dai2eth(dai2Mint); // DAI >>> ETH
|
||||||
|
|
||||||
uint nowBal = address(this).balance;
|
uint nowBal = address(this).balance;
|
||||||
if (contractETHBal > nowBal) {
|
|
||||||
msg.sender.transfer(contractETHBal - nowBal);
|
|
||||||
}
|
|
||||||
if (nowBal > contractETHBal) {
|
if (nowBal > contractETHBal) {
|
||||||
msg.sender.transfer(nowBal - contractETHBal);
|
msg.sender.transfer(nowBal - contractETHBal);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user