fix comment

This commit is contained in:
Gav
2018-01-21 22:35:51 +01:00
parent 2789bc2b8f
commit b615df2be6
@@ -67,8 +67,7 @@ pub fn approvals_required() -> u32 {
/// Current era is ending; we should finish up any proposals. /// Current era is ending; we should finish up any proposals.
pub fn end_of_an_era() { pub fn end_of_an_era() {
// TODO: tally up votes for the current proposal, if any. enact if there are sufficient // tally up votes for the current proposal, if any. enact if there are sufficient approvals.
// approvals.
if let Some(proposal) = Proposal::lookup(b"gov:pro") { if let Some(proposal) = Proposal::lookup(b"gov:pro") {
let enact = approval_count() >= approvals_required(); let enact = approval_count() >= approvals_required();