From c96c8325fd28c1b05a2815297d978282bc5c50b6 Mon Sep 17 00:00:00 2001 From: LouisMeMyself Date: Sat, 5 Feb 2022 02:38:11 +0100 Subject: [PATCH] getIncentives return 0 --- contracts/LaunchEvent.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/LaunchEvent.sol b/contracts/LaunchEvent.sol index 36ce45f9..2656eb86 100644 --- a/contracts/LaunchEvent.sol +++ b/contracts/LaunchEvent.sol @@ -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;