From 348e65074e8498f7c8153c05bde796363f8b2a09 Mon Sep 17 00:00:00 2001 From: Will Date: Mon, 1 Aug 2016 14:57:44 -0400 Subject: [PATCH] fix bug in error propagation for account badSeed (RIPD-1248) --- src/ripple/rpc/handlers/AccountObjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }