Skip to content

Commit

Permalink
Fixed launcher setup of unstarted nodes. GH EOSIO#6727.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjohnson5972 committed Mar 23, 2019
1 parent 0532e5c commit 97f777b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/eosio-launcher/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 97f777b

Please sign in to comment.