Skip to content

Commit

Permalink
[config] Only start checkpoint process on validator (#4450)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Sep 7, 2022
1 parent 9fb2ddc commit 8f390bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl SuiNode {
None
};
let execute_driver_handle = active_authority.clone().spawn_execute_process().await;
let checkpoint_process_handle = if config.enable_checkpoint {
let checkpoint_process_handle = if config.enable_checkpoint && is_validator {
Some(
active_authority
.clone()
Expand Down

0 comments on commit 8f390bc

Please sign in to comment.