mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-27 15:15:52 +00:00
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -301,7 +301,8 @@ TEST_F(RPCAccountInfoHandlerTest, SignerListsTrue)
|
||||
"PreviousTxnLgrSeq":2,
|
||||
"Sequence":2,
|
||||
"TransferRate":0,
|
||||
"index":"13F1A95D7AAB7108D5CE7EEAF504B2894B8C674E6D68499076441C4837282BF8",
|
||||
"index":"13F1A95D7AAB7108D5CE7EEAF504B2894B8C674E6D68499076441C4837282BF8"
|
||||
}},
|
||||
"signer_lists":
|
||||
[
|
||||
{{
|
||||
@@ -331,8 +332,7 @@ TEST_F(RPCAccountInfoHandlerTest, SignerListsTrue)
|
||||
"SignerQuorum":2,
|
||||
"index":"A9C28A28B85CD533217F5C0A0C7767666B093FA58A0F2D80026FCC4CD932DDC7"
|
||||
}}
|
||||
]
|
||||
}},
|
||||
],
|
||||
"account_flags": {{
|
||||
"defaultRipple": false,
|
||||
"depositAuth": false,
|
||||
|
||||
Reference in New Issue
Block a user