Skip to content

Commit

Permalink
fix : remove unuseful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-shin-wt committed Jul 22, 2024
1 parent e8d971e commit 1edab31
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions wemix/governance-contract/contracts/GovImp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -600,23 +600,7 @@ contract GovImp is AGov, ReentrancyGuardUpgradeable, BallotEnums, EnvConstants,
function removeMember(uint256 ballotIdx) private {
fromValidBallot(ballotIdx, uint256(BallotTypes.MemberRemoval));

(
address oldStaker, // newStakerAddress
// newRewardAddress
,
,
,
,
,
,
,

) = // newVoterAddress
// newNodeName
// newNodeId
// newNodeIp
// newNodePort
getBallotMember(ballotIdx);
(address oldStaker, , , , , , , , ) = getBallotMember(ballotIdx);
if (!isMember(oldStaker)) {
emit NotApplicable(ballotIdx, "Not already a member");
return; // Non-member. it is abnormal case, but passed
Expand Down

0 comments on commit 1edab31

Please sign in to comment.