|
@@ -395,7 +395,6 @@ export async function council_NewCandidate({ event, store }: EventContext & Stor
|
|
electionRound,
|
|
electionRound,
|
|
stake: balance,
|
|
stake: balance,
|
|
stakeLocked: true,
|
|
stakeLocked: true,
|
|
- candidacyWithdrawn: false,
|
|
|
|
votePower: new BN(0),
|
|
votePower: new BN(0),
|
|
noteMetadata,
|
|
noteMetadata,
|
|
votesRecieved: [],
|
|
votesRecieved: [],
|
|
@@ -568,7 +567,6 @@ export async function council_CandidacyWithdraw({ event, store }: EventContext &
|
|
// specific event processing
|
|
// specific event processing
|
|
|
|
|
|
// mark candidacy as withdrawn
|
|
// mark candidacy as withdrawn
|
|
- candidate.candidacyWithdrawn = true
|
|
|
|
candidate.status = new CandidacyStatusWithdrawn()
|
|
candidate.status = new CandidacyStatusWithdrawn()
|
|
await store.save<Candidate>(candidate)
|
|
await store.save<Candidate>(candidate)
|
|
}
|
|
}
|