1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Merge pull request #1931 from pebu1337/patch-1

Update error message
This commit is contained in:
majestrate 2022-06-06 11:45:15 -04:00 committed by GitHub
commit 3ef13bab7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
});