From f0dc2bc425e80321f23c66ae252d064a3c500c4d Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 29 Jul 2015 17:48:47 -0700 Subject: [PATCH] Confirm valid suspend before relying on suspension --- src/ripple/rpc/handlers/RipplePathFind.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ripple/rpc/handlers/RipplePathFind.cpp b/src/ripple/rpc/handlers/RipplePathFind.cpp index f66b12718f..e11849bbb0 100644 --- a/src/ripple/rpc/handlers/RipplePathFind.cpp +++ b/src/ripple/rpc/handlers/RipplePathFind.cpp @@ -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))