diff --git a/grin.toml b/grin.toml index 1ef71c397..588bfa4fc 100644 --- a/grin.toml +++ b/grin.toml @@ -91,7 +91,7 @@ external = false api_listen_interface = "127.0.0.1" # Port for wallet listener -api_listen_port = "13415" +api_listen_port = 13415 # Where the wallet should find a running node check_node_api_http_addr = "http://localhost:13413" diff --git a/grin/src/sync.rs b/grin/src/sync.rs index 5b40d1e18..30e25677a 100644 --- a/grin/src/sync.rs +++ b/grin/src/sync.rs @@ -66,8 +66,8 @@ pub fn run_sync( // in archival nodes (no fast sync) we just consider we have the whole // state already - let have_txhashset = !fast_sync - || header_head.height.saturating_sub(head.height) <= horizon; + let have_txhashset = + !fast_sync || header_head.height.saturating_sub(head.height) <= horizon; let mut syncing = needs_syncing( currently_syncing.as_ref(),