From 133c1f33639aea40a796fe9fc76372bcce5bdb23 Mon Sep 17 00:00:00 2001 From: Abdelhamid Bakhta <45264458+abdelhamidbakhta@users.noreply.github.com> Date: Tue, 9 Apr 2019 16:37:18 +0200 Subject: [PATCH] Update PantheonCommand.java (#1245) - change option name - update warning condition on dependency check --- .../main/java/tech/pegasys/pantheon/cli/PantheonCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java b/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java index 8ece5e0b8f..6736f4fb80 100644 --- a/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java +++ b/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java @@ -655,8 +655,8 @@ public void run() { logger, commandLine, "--sync-mode", - SyncMode.FAST.equals(syncMode), - asList("--fast-sync-num-peers", "--fast-sync-timeout")); + !SyncMode.FAST.equals(syncMode), + asList("--fast-sync-min-peers", "--fast-sync-max-wait-time")); //noinspection ConstantConditions if (isMiningEnabled && coinbase == null) {