Skip to content

Commit

Permalink
Cleanup unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
VlodkoMr committed Apr 11, 2024
1 parent 7d3ded4 commit ddf5fbd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions congress/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,20 +577,6 @@ impl Contract {
self.members.set(&m);
}
}

// Manually update the threshold and members_len
// pub fn update_threshold(&mut self) {
// require!(env::predecessor_account_id() == env::current_account_id());
// let (members, _) = self.members.get().unwrap();
// self.members_len = members.len() as u8;
// self.threshold = 8;
// }

pub fn update_start_end_timestamp(&mut self) {
require!(env::predecessor_account_id() == env::current_account_id());
self.start_time = 1702771200000;
self.end_time = 1718582400000;
}
}

#[cfg(all(test, not(target_arch = "wasm32")))]
Expand Down

0 comments on commit ddf5fbd

Please sign in to comment.