From 561a8c128f72fbc113588ec952eabacd686adb4f Mon Sep 17 00:00:00 2001 From: Brian Le Date: Mon, 25 Mar 2024 15:30:21 -0400 Subject: [PATCH] tweaks --- contracts/crowdfund/ERC20LaunchCrowdfund.sol | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contracts/crowdfund/ERC20LaunchCrowdfund.sol b/contracts/crowdfund/ERC20LaunchCrowdfund.sol index 2a7c1233..75dfeedd 100644 --- a/contracts/crowdfund/ERC20LaunchCrowdfund.sol +++ b/contracts/crowdfund/ERC20LaunchCrowdfund.sol @@ -36,7 +36,7 @@ contract ERC20LaunchCrowdfund is InitialETHCrowdfund { ERC20LaunchOptions public tokenOpts; - bool isTokenLaunched; + bool public isTokenLaunched; constructor(IGlobals globals, IERC20Creator erc20Creator) InitialETHCrowdfund(globals) { ERC20_CREATOR = erc20Creator; @@ -118,8 +118,6 @@ contract ERC20LaunchCrowdfund is InitialETHCrowdfund { } function _finalize(uint96 totalContributions_) internal override { - Party _party = party; - // Finalize the crowdfund. delete expiry; @@ -132,7 +130,7 @@ contract ERC20LaunchCrowdfund is InitialETHCrowdfund { // Update the party's total voting power. uint96 newVotingPower = _calculateContributionToVotingPower(totalContributions_); - _party.increaseTotalVotingPower(newVotingPower); + party.increaseTotalVotingPower(newVotingPower); emit Finalized(); }