mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Inject Application:
Calls to getApp are replaced with dependency injections.
This commit is contained in:
committed by
Edward Hennis
parent
f4fe55caff
commit
9b787434c9
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user