Inject Application (cont.)

This commit is contained in:
Vinnie Falco
2015-09-15 19:10:16 -04:00
committed by Edward Hennis
parent eed1a891a7
commit ffbcb96eff
98 changed files with 708 additions and 570 deletions

View File

@@ -94,7 +94,7 @@ void startServer (Application& app)
Resource::Charge loadType = Resource::feeReferenceRPC;
RPC::Context context {
jvCommand, app, loadType, app.getOPs (),
app.getLedgerMaster(), Role::ADMIN};
app.getLedgerMaster(), Role::ADMIN, app};
Json::Value jvResult;
RPC::doCommand (context, jvResult);