mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
fix comment
This commit is contained in:
1 parent
2789bc2b8f
commit
b615df2be6
1 file changed
+1
-2
@@ -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