Skip to content

Commit

Permalink
adjust changes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrrnn committed Aug 29, 2024
1 parent 4487b01 commit 658ee85
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/setup-view.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"checking-latest-version-xmrig": "Checking for latest version of xmrig",
"waiting-for-wallet": "Waiting for wallet",
"waiting-for-node": "Waiting for node to sync",
"waiting-for-initial-sync": "Waiting for initial sync",
"preparing-for-initial-sync": "Preparing for initial sync",
"starting-mmproxy": "Starting merge mining proxy",
"application-started": "Applications started",
"downloading": "Downloading",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/pl/setup-view.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"checking-latest-version-xmrig": "Sprawdzanie najnowszej wersji xmrig",
"waiting-for-wallet": "Oczekiwanie na portfel",
"waiting-for-node": "Oczekiwanie na synchronizację węzła",
"waiting-for-initial-sync": "Oczekiwanie na początkową synchronizację",
"preparing-for-initial-sync": "Przygotowywanie do początkowej synchronizacji",
"starting-mmproxy": "Uruchamianie mmproxy",
"application-started": "Aplikacje uruchomione",
"downloading": "Pobieranie",
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,13 @@ async fn setup_inner<'r>(

progress.set_max(80).await;
progress
.update("Waiting for node to sync".to_string(), 0)
.update("preparing-for-initial-sync".to_string(), 0)
.await;
state.node_manager.wait_synced(progress.clone()).await?;

progress.set_max(100).await;
progress
.update("Starting merge mining proxy".to_string(), 0)
.update("starting-merge-mining-proxy".to_string(), 0)
.await;

let base_node_grpc_port = state.node_manager.get_grpc_port().await?;
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/src/node_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ impl MinotariNodeStatusMonitor {
break;
}
info!(target: LOG_TARGET, "Sync progress: {:?}", sync_progress);

if sync_progress.state == SyncState::Startup as i32 {
progress_tracker
.update("Preparing for initial sync..".to_string(), 10)
.update("preparing-for-initial-sync".to_string(), 10)
.await;
} else if sync_progress.state == SyncState::Header as i32 {
if sync_util.syncing_type != SyncingType::Headers {
Expand Down

0 comments on commit 658ee85

Please sign in to comment.