From 97f777bbb073316680a2e5214ede61a1503c397c Mon Sep 17 00:00:00 2001 From: Brian Johnson Date: Fri, 22 Mar 2019 22:57:01 -0500 Subject: [PATCH] Fixed launcher setup of unstarted nodes. GH #6727. --- programs/eosio-launcher/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/eosio-launcher/main.cpp b/programs/eosio-launcher/main.cpp index 51a0808103b..35f12b94e75 100644 --- a/programs/eosio-launcher/main.cpp +++ b/programs/eosio-launcher/main.cpp @@ -892,7 +892,7 @@ launcher_def::bind_nodes () { int extra = producers % non_bios; unsigned int i = 0; unsigned int producer_number = 0; - const auto to_not_start_node = total_nodes - unstarted_nodes; + const auto to_not_start_node = total_nodes - unstarted_nodes - 1; for (auto &h : bindings) { for (auto &inst : h.instances) { bool is_bios = inst.name == "bios";