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::cend(output.signerLists.value()),
|
||||||
std::back_inserter(signers),
|
std::back_inserter(signers),
|
||||||
[](auto const& signerList) { return toJson(signerList); });
|
[](auto const& signerList) { return toJson(signerList); });
|
||||||
|
// version 2 puts the signer_lists out of the account_data
|
||||||
jv.as_object()[JS(account_data)].as_object()[JS(signer_lists)] = std::move(signers);
|
jv.as_object()[JS(signer_lists)] = std::move(signers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -301,8 +301,9 @@ TEST_F(RPCAccountInfoHandlerTest, SignerListsTrue)
|
|||||||
"PreviousTxnLgrSeq":2,
|
"PreviousTxnLgrSeq":2,
|
||||||
"Sequence":2,
|
"Sequence":2,
|
||||||
"TransferRate":0,
|
"TransferRate":0,
|
||||||
"index":"13F1A95D7AAB7108D5CE7EEAF504B2894B8C674E6D68499076441C4837282BF8",
|
"index":"13F1A95D7AAB7108D5CE7EEAF504B2894B8C674E6D68499076441C4837282BF8"
|
||||||
"signer_lists":
|
}},
|
||||||
|
"signer_lists":
|
||||||
[
|
[
|
||||||
{{
|
{{
|
||||||
"Flags":0,
|
"Flags":0,
|
||||||
@@ -331,8 +332,7 @@ TEST_F(RPCAccountInfoHandlerTest, SignerListsTrue)
|
|||||||
"SignerQuorum":2,
|
"SignerQuorum":2,
|
||||||
"index":"A9C28A28B85CD533217F5C0A0C7767666B093FA58A0F2D80026FCC4CD932DDC7"
|
"index":"A9C28A28B85CD533217F5C0A0C7767666B093FA58A0F2D80026FCC4CD932DDC7"
|
||||||
}}
|
}}
|
||||||
]
|
],
|
||||||
}},
|
|
||||||
"account_flags": {{
|
"account_flags": {{
|
||||||
"defaultRipple": false,
|
"defaultRipple": false,
|
||||||
"depositAuth": false,
|
"depositAuth": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user