mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Merge branch 'master' into gav-demo
This commit is contained in:
@@ -40,8 +40,6 @@ pub fn proposal(proposal: Proposal) {
|
||||
democracy::privileged::cancel_referendum(a),
|
||||
Proposal::DemocracyStartReferendum(a, b) =>
|
||||
democracy::privileged::start_referendum(*a, b),
|
||||
Proposal::DemocracyCancelReferendum(a) =>
|
||||
democracy::privileged::cancel_referendum(a),
|
||||
Proposal::CouncilSetDesiredSeats(a) =>
|
||||
council::privileged::set_desired_seats(a),
|
||||
Proposal::CouncilRemoveMember(a) =>
|
||||
|
||||
@@ -190,7 +190,6 @@ pub mod internal {
|
||||
pub fn end_block(now: BlockNumber) {
|
||||
while let Some((proposal, proposal_hash)) = take_proposal_if_expiring_at(now) {
|
||||
let tally = take_tally(&proposal_hash);
|
||||
println!("Executing proposal {:?} {:?}", proposal, tally);
|
||||
if let &Proposal::DemocracyCancelReferendum(ref_index) = &proposal {
|
||||
if let (_, 0, 0) = tally {
|
||||
democracy::privileged::cancel_referendum(ref_index);
|
||||
|
||||
Reference in New Issue
Block a user