mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Confirm valid suspend before relying on suspension
This commit is contained in:
@@ -82,7 +82,8 @@ Json::Value doRipplePathFind (RPC::Context& context)
|
|||||||
|
|
||||||
Json::Value jvResult;
|
Json::Value jvResult;
|
||||||
|
|
||||||
if (getConfig().RUN_STANDALONE ||
|
if (! context.suspend ||
|
||||||
|
getConfig().RUN_STANDALONE ||
|
||||||
context.params.isMember(jss::ledger) ||
|
context.params.isMember(jss::ledger) ||
|
||||||
context.params.isMember(jss::ledger_index) ||
|
context.params.isMember(jss::ledger_index) ||
|
||||||
context.params.isMember(jss::ledger_hash))
|
context.params.isMember(jss::ledger_hash))
|
||||||
|
|||||||
Reference in New Issue
Block a user