fix bug in error propagation for account badSeed (RIPD-1248)

This commit is contained in:
Will
2016-08-01 14:57:44 -04:00
committed by Nik Bougalis
parent 64f2576fc8
commit 348e65074e

View File

@@ -63,7 +63,7 @@ Json::Value doAccountObjects (RPC::Context& context)
if (auto jv = RPC::accountFromString (accountID, strIdent))
{
for (auto it = jv.begin (); it != jv.end (); ++it)
result[it.memberName ()] = it.key ();
result[it.memberName ()] = *it;
return result;
}