From 4c345e2fa5a79eba30746163296367ee857b0ad9 Mon Sep 17 00:00:00 2001 From: Richard Kiss Date: Fri, 4 Mar 2022 14:05:12 -0800 Subject: [PATCH] Add some logging. (#10556) --- chia/cmds/show.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chia/cmds/show.py b/chia/cmds/show.py index ed03ef72b7..e3224edb0e 100644 --- a/chia/cmds/show.py +++ b/chia/cmds/show.py @@ -118,7 +118,10 @@ async def show_async( elif peak is not None and sync_mode: sync_max_block = blockchain_state["sync"]["sync_tip_height"] sync_current_block = blockchain_state["sync"]["sync_progress_height"] - print(f"Current Blockchain Status: Syncing {sync_current_block}/{sync_max_block}.") + print( + f"Current Blockchain Status: Syncing {sync_current_block}/{sync_max_block} " + f"({sync_max_block - sync_current_block} behind)." + ) print("Peak: Hash:", peak.header_hash if peak is not None else "") elif peak is not None: print(f"Current Blockchain Status: Not Synced. Peak height: {peak.height}")