diff --git a/wemix/governance-contract/contracts/GovImp.sol b/wemix/governance-contract/contracts/GovImp.sol index ecb045c59fc3..e6ea77462e49 100644 --- a/wemix/governance-contract/contracts/GovImp.sol +++ b/wemix/governance-contract/contracts/GovImp.sol @@ -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