mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Consolidate "Not Synced" error messages:
Work on a version 2 of the XRP Network API has begun. The new API returns: * `notSynced` in place of `noClosed`, `noCurrent`, and `noNetwork`; * `invalidParams` in place of `lgrIdxInvalid`. The new version 2 API cannot be selected yet, as it remains a work in progress. Fixes #3269
This commit is contained in:
committed by
Nik Bougalis
parent
0214d83aa5
commit
1067086f71
@@ -443,9 +443,9 @@ ServerHandlerImp::processSession(
|
||||
is->getConsumer(),
|
||||
role,
|
||||
coro,
|
||||
is},
|
||||
is,
|
||||
apiVersion},
|
||||
jv,
|
||||
apiVersion,
|
||||
{is->user(), is->forwarded_for()}};
|
||||
|
||||
RPC::doCommand(context, jr[jss::result]);
|
||||
@@ -829,9 +829,9 @@ ServerHandlerImp::processRequest(
|
||||
usage,
|
||||
role,
|
||||
coro,
|
||||
InfoSub::pointer()},
|
||||
InfoSub::pointer(),
|
||||
apiVersion},
|
||||
params,
|
||||
apiVersion,
|
||||
{user, forwardedFor}};
|
||||
Json::Value result;
|
||||
RPC::doCommand(context, result);
|
||||
|
||||
Reference in New Issue
Block a user