Fix min_height initialization bug in sync-verification.sh
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 10s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
P2P Network Verification / p2p-verification (push) Successful in 9s

This commit is contained in:
aitbc
2026-04-25 20:25:50 +02:00
parent ba52ecfc79
commit bdc10f5d2b

View File

@@ -153,7 +153,7 @@ check_block_sync() {
local heights=()
local max_height=0
local min_height=999999
local min_height=999999999
for node_config in "${NODES[@]}"; do
IFS=':' read -r node_name node_ip <<< "$node_config"
@@ -276,7 +276,7 @@ main() {
local max_height=0
local max_node=""
local max_ip=""
local min_height=999999
local min_height=999999999
local min_node=""
local min_ip=""