diff --git a/src/ripple/rpc/handlers/AccountObjects.cpp b/src/ripple/rpc/handlers/AccountObjects.cpp index 52ef5c291f..206f70ef9c 100644 --- a/src/ripple/rpc/handlers/AccountObjects.cpp +++ b/src/ripple/rpc/handlers/AccountObjects.cpp @@ -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; }