message: Zero condition was moved upper
diff: @@ -163,6 +163,11 @@ impl CatchupHandler {
  }
  let active_node_cnt = self.nodes.iter().filter(|node| !node.is_blacklisted).count();
  + if active_node_cnt == 0 { // TODO FIXME
  + return Err(PoolError::Terminate);
  + }
  +
  +
  let txns_cnt_in_cur_mt = self.merkle_tree.count();
  let cnt_to_catchup = self.target_mt_size - txns_cnt_in_cur_mt;
  if cnt_to_catchup <= 0 {
  @@ -177,10 +182,6 @@ impl CatchupHandler {
  });
  self.timeout = time::now_utc().add(Duration::seconds(CATCHUP_ROUND_TIMEOUT));
  - if active_node_cnt == 0 { // TODO FIXME
  - return Err(PoolError::Terminate);
  - }
  -
  let portion = (cnt_to_catchup + active_node_cnt - 1) / active_node_cnt; //TODO check standard round up div
  let mut catchup_req = CatchupReq {
  ledgerId: 0,
  