From 9db192079b45fa81c09d88b3c5a9723015642f2a Mon Sep 17 00:00:00 2001 From: Pebu Date: Mon, 6 Jun 2022 10:00:20 -0400 Subject: [PATCH] Update error message Message is paths must be >= 2 but condition is checking for < 3 --- llarp/config/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/config/config.cpp b/llarp/config/config.cpp index 6bff96112..dde090362 100644 --- a/llarp/config/config.cpp +++ b/llarp/config/config.cpp @@ -425,7 +425,7 @@ namespace llarp }, [this](int arg) { if (arg < 3 or arg > 8) - throw std::invalid_argument("[endpoint]:paths must be >= 2 and <= 8"); + throw std::invalid_argument("[endpoint]:paths must be >= 3 and <= 8"); m_Paths = arg; });