mirror of https://github.com/oxen-io/lokinet
Update error message
Message is paths must be >= 2 but condition is checking for < 3
This commit is contained in:
parent
f2d7d5eabf
commit
9db192079b
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue