Skip to content

Commit

Permalink
fix forest_headless_encrypt_keystore_with_passphrase_should_succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Aug 16, 2023
1 parent 168505b commit f434632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ async fn fetch_snapshot_if_required(
})
.await;
if !have_permission {
bail!("Forest requires a snapshot to sync with the network, but automatic fetching is disabled.")
std::process::exit(0);
}
match crate::cli_shared::snapshot::fetch(download_directory, chain, vendor).await {
Ok(path) => {
Expand Down

0 comments on commit f434632

Please sign in to comment.