Remove unused parameters to accountFromString.

This commit is contained in:
Tom Ritchford
2015-06-08 16:00:13 -04:00
committed by Nik Bougalis
parent f237187b0d
commit c2814308f1
9 changed files with 26 additions and 34 deletions

View File

@@ -47,8 +47,8 @@ Json::Value doAccountOffers (RPC::Context& context)
int const iIndex (bIndex ? params[jss::account_index].asUInt () : 0);
RippleAddress rippleAddress;
Json::Value const jv (RPC::accountFromString (ledger, rippleAddress, bIndex,
strIdent, iIndex, false, context.netOps));
Json::Value const jv = RPC::accountFromString (
rippleAddress, bIndex, strIdent, iIndex, false);
if (! jv.empty ())
{
for (Json::Value::const_iterator it (jv.begin ()); it != jv.end (); ++it)