From 70e580235c8c14c94dca50f9b9adc73b17f0bbc4 Mon Sep 17 00:00:00 2001 From: badrogger Date: Mon, 28 Oct 2024 13:17:12 +0000 Subject: [PATCH] Fix node-cli.status --- node_cli/operations/base.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/node_cli/operations/base.py b/node_cli/operations/base.py index bc55406b..ea5ff162 100644 --- a/node_cli/operations/base.py +++ b/node_cli/operations/base.py @@ -207,8 +207,7 @@ def init_sync( node_options = NodeOptions() node_options.archive = archive - if archive: - node_options.catchup = True + node_options.catchup = archive node_options.historic_state = historic_state ensure_filestorage_mapping() @@ -364,8 +363,7 @@ def repair_sync( logger.info('Updating node options') node_options = NodeOptions() node_options.archive = archive - if archive: - node_options.catchup = True + node_options.catchup = archive node_options.historic_state = historic_state logger.info('Updating cli status')