mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-25 04:55:50 +00:00
Refactor NetworkOPs:
* Reduce public API * Use LedgerMaster interface from RPC * Remove fetch pack management to LedgerMaster
This commit is contained in:
@@ -353,8 +353,8 @@ ServerHandlerImp::processRequest (
|
||||
|
||||
auto const start (std::chrono::high_resolution_clock::now ());
|
||||
RPC::Context context {
|
||||
params, loadType, m_networkOPs, role, nullptr,
|
||||
std::move (suspend), std::move (yield)};
|
||||
params, loadType, m_networkOPs, getApp().getLedgerMaster(), role,
|
||||
nullptr, std::move (suspend), std::move (yield)};
|
||||
std::string response;
|
||||
|
||||
if (setup_.yieldStrategy.streaming == RPC::YieldStrategy::Streaming::yes)
|
||||
|
||||
Reference in New Issue
Block a user