From b615df2be6cb56ee9a9a0bddd9f51eae4b7147e9 Mon Sep 17 00:00:00 2001 From: Gav Date: Sun, 21 Jan 2018 22:35:51 +0100 Subject: [PATCH] fix comment --- substrate/wasm-runtime/polkadot/src/runtime/governance.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/substrate/wasm-runtime/polkadot/src/runtime/governance.rs b/substrate/wasm-runtime/polkadot/src/runtime/governance.rs index 783522ffdf..f6c41ff805 100644 --- a/substrate/wasm-runtime/polkadot/src/runtime/governance.rs +++ b/substrate/wasm-runtime/polkadot/src/runtime/governance.rs @@ -67,8 +67,7 @@ pub fn approvals_required() -> u32 { /// Current era is ending; we should finish up any proposals. pub fn end_of_an_era() { - // TODO: tally up votes for the current proposal, if any. enact if there are sufficient - // approvals. + // tally up votes for the current proposal, if any. enact if there are sufficient approvals. if let Some(proposal) = Proposal::lookup(b"gov:pro") { let enact = approval_count() >= approvals_required();