Skip to content

Commit

Permalink
getIncentives return 0
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisMeMyself authored and cryptofish7 committed Feb 12, 2022
1 parent d93b573 commit c96c832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/LaunchEvent.sol
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ contract LaunchEvent {
}

if (_user == issuer) {
if (address(pair) == address(0)) return tokenIncentiveIssuerRefund;
if (address(pair) == address(0)) return 0;
return tokenIncentiveIssuerRefund + tokenReserve;
} else {
if (avaxAllocated == 0) return 0;
Expand Down

0 comments on commit c96c832

Please sign in to comment.