From 9e10943374ccd978fd93a30e75929158792b4c64 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Thu, 22 Mar 2018 19:28:25 +0000 Subject: [PATCH] Fix wallet port format in grin.toml --- grin.toml | 2 +- grin/src/sync.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(),