From f77ecba896db8b89bb6637f0d22468c39111e4f8 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 ca651fb74..b6a63a7ec 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))