version2's account_info (#747)

Fixes #743
This commit is contained in:
cyan317
2023-07-10 13:42:09 +01:00
committed by GitHub
parent 73805d44ad
commit 7b306f3ba0
2 changed files with 6 additions and 6 deletions

View File

@@ -121,8 +121,8 @@ tag_invoke(boost::json::value_from_tag, boost::json::value& jv, AccountInfoHandl
std::cend(output.signerLists.value()),
std::back_inserter(signers),
[](auto const& signerList) { return toJson(signerList); });
jv.as_object()[JS(account_data)].as_object()[JS(signer_lists)] = std::move(signers);
// version 2 puts the signer_lists out of the account_data
jv.as_object()[JS(signer_lists)] = std::move(signers);
}
}