mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor InfoSub to remove NetworkOPs dependency
This commit is contained in:
@@ -3233,8 +3233,9 @@ Json::Value RPCHandler::doSubscribe (Json::Value params, LoadType* loadType, App
|
||||
{
|
||||
WriteLog (lsDEBUG, RPCHandler) << boost::str (boost::format ("doSubscribe: building: %s") % strUrl);
|
||||
|
||||
RPCSub::pointer rspSub = boost::make_shared<RPCSub> (getApp ().getIOService (),
|
||||
getApp ().getJobQueue (), strUrl, strUsername, strPassword);
|
||||
RPCSub::pointer rspSub = boost::make_shared <RPCSub> (
|
||||
getApp ().getOPs (), getApp ().getIOService (),
|
||||
getApp ().getJobQueue (), strUrl, strUsername, strPassword);
|
||||
ispSub = mNetOps->addRpcSub (strUrl, boost::dynamic_pointer_cast<InfoSub> (rspSub));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user