From 211d96b84b4fae9a5069b8fb1db53e27d081675b Mon Sep 17 00:00:00 2001 From: Bitcoin Tools <156422466+bitcoin-tools@users.noreply.github.com> Date: Sun, 6 Oct 2024 11:33:51 -0400 Subject: [PATCH] make variable readonly --- nodebuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/nodebuilder b/nodebuilder index c8552d7d8..093bee733 100755 --- a/nodebuilder +++ b/nodebuilder @@ -1704,6 +1704,7 @@ if [ ! -f "${BITCOIN_CORE_CONFIG_FILE}" ]; then fi INITIAL_DATA_ALREADY_SYNCED_IN_MIB="$(($(get_directory_size_in_mib "${BITCOIN_DATA_DIRECTORY}/blocks") + $(get_directory_size_in_mib "${BITCOIN_DATA_DIRECTORY}/chainstate")))" +readonly INITIAL_DATA_ALREADY_SYNCED_IN_MIB log_info "Found data already synced... $((INITIAL_DATA_ALREADY_SYNCED_IN_MIB / MIB_TO_GIB)) GiB." free_space_in_mib="$(get_free_space_in_mib)"