mirror of
https://github.com/Xahau/xahaud.git
synced 2026-08-22 16:00:57 +00:00
Improve RPC error message for fee command:
* If rippled is not synced to the network, `fee` will return a "no network" error instead of the possibly confusing "not enabled" error. * Resolves RIPD-1588
This commit is contained in:
committed by
Mike Ellery
parent
e98c76110a
commit
af1697cc6a
@@ -77,7 +77,7 @@ Handler const handlerArray[] {
|
||||
{ "gateway_balances", byRef (&doGatewayBalances), Role::USER, NO_CONDITION },
|
||||
{ "get_counts", byRef (&doGetCounts), Role::ADMIN, NO_CONDITION },
|
||||
{ "feature", byRef (&doFeature), Role::ADMIN, NO_CONDITION },
|
||||
{ "fee", byRef (&doFee), Role::USER, NO_CONDITION },
|
||||
{ "fee", byRef (&doFee), Role::USER, NEEDS_CURRENT_LEDGER },
|
||||
{ "fetch_info", byRef (&doFetchInfo), Role::ADMIN, NO_CONDITION },
|
||||
{ "ledger_accept", byRef (&doLedgerAccept), Role::ADMIN, NEEDS_CURRENT_LEDGER },
|
||||
{ "ledger_cleaner", byRef (&doLedgerCleaner), Role::ADMIN, NEEDS_NETWORK_CONNECTION },
|
||||
|
||||
Reference in New Issue
Block a user