Skip to content

Commit b8365cc

Browse files
committed
Update Gigastrat.sol
1 parent c00b085 commit b8365cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

contracts/Gigastrat.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,8 +994,8 @@ contract Gigastrat5 is ERC20 {
994994
_mint(msg.sender, mintAmount);
995995
if (ref!=address(0)) _mint(feeAddress, mintAmount / 10);
996996
else {
997-
_mint(feeAddress, (mintAmount * 10-refFee) / 100);
998-
_mint(feeAddress, (mintAmount * refFee) / 100);
997+
_mint(feeAddress, (mintAmount * (10-refFee)) / 100);
998+
_mint(ref, (mintAmount * refFee) / 100);
999999
}
10001000
uint256 amt = (iouAmount * loans[loanIndex].totalBuyETH) / IERC20(ln.loanAddress).totalSupply();
10011001
loans[loanIndex].totalBuyETH -= amt;

0 commit comments

Comments
 (0)