Skip to content

Commit

Permalink
[rust] update to 1.60 -- super easy this time
Browse files Browse the repository at this point in the history
  • Loading branch information
davidiw authored and aptos-bot committed Apr 8, 2022
1 parent fb8ef38 commit e14a350
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.59.0
1.60.0
2 changes: 1 addition & 1 deletion state-sync/state-sync-v1/src/coordinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ impl<T: ExecutorProxyTrait, M: MempoolNotificationSender> StateSyncCoordinator<T
/// Returns true if consensus is currently executing and state sync should
/// therefore not write to storage. Reads are still permitted (e.g., to
/// handle chunk requests).
fn is_consensus_executing(&mut self) -> bool {
fn is_consensus_executing(&self) -> bool {
self.is_initialized() && self.role == RoleType::Validator && self.sync_request.is_none()
}

Expand Down

0 comments on commit e14a350

Please sign in to comment.