mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 11:47:59 +00:00
fix comment
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user