From 9a7f66cfe93c67c6432e128e5b7e2cc15e957baa Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Thu, 6 Nov 2014 21:57:09 -0500 Subject: [PATCH] Fix compilation errors in RPC/RipplePathFind.cpp --- src/ripple/rpc/handlers/RipplePathFind.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ripple/rpc/handlers/RipplePathFind.cpp b/src/ripple/rpc/handlers/RipplePathFind.cpp index 237a15a256..aa45826808 100644 --- a/src/ripple/rpc/handlers/RipplePathFind.cpp +++ b/src/ripple/rpc/handlers/RipplePathFind.cpp @@ -154,11 +154,11 @@ Json::Value doRipplePathFind (RPC::Context& context) ++level; } - if (context.params_.isMember("depth") - && context.params_["depth"].isIntegral()) + if (context.params.isMember("depth") + && context.params["depth"].isIntegral()) { - int rLev = context.params_["search_depth"].asInt (); - if ((rLev < level) || (context.role_ == Config::ADMIN)) + int rLev = context.params["search_depth"].asInt (); + if ((rLev < level) || (context.role == Role::ADMIN)) level = rLev; }