Inject Application:

Calls to getApp are replaced with dependency injections.
This commit is contained in:
Vinnie Falco
2015-09-14 14:25:23 -07:00
committed by Edward Hennis
parent f4fe55caff
commit 9b787434c9
132 changed files with 1203 additions and 1063 deletions

View File

@@ -183,7 +183,7 @@ private:
if (! account)
return rpcError (rpcACT_MALFORMED);
jvRequest[jss::account]= getApp().accountIDCache().toBase58(*account);
jvRequest[jss::account]= toBase58(*account);
bool bDone = false;
@@ -253,7 +253,7 @@ private:
if (! account)
return rpcError (rpcACT_MALFORMED);
jvRequest[jss::account] = getApp().accountIDCache().toBase58(*account);
jvRequest[jss::account] = toBase58(*account);
bool bDone = false;