Confirm valid suspend before relying on suspension

This commit is contained in:
JoelKatz
2015-07-29 17:48:47 -07:00
committed by Nik Bougalis
parent 32ec3fe089
commit f0dc2bc425

View File

@@ -82,7 +82,8 @@ Json::Value doRipplePathFind (RPC::Context& context)
Json::Value jvResult;
if (getConfig().RUN_STANDALONE ||
if (! context.suspend ||
getConfig().RUN_STANDALONE ||
context.params.isMember(jss::ledger) ||
context.params.isMember(jss::ledger_index) ||
context.params.isMember(jss::ledger_hash))