Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
AureliaDolo committed Jun 7, 2024
1 parent c982269 commit 8652a04
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn rep_shamir_setup_already_exists() {
// "status": "shamir_setup_already_exist"
test_de_serialization!(
"81a6737461747573bb7368616d69725f73657475705f616c72656164795f6578697374 \
73",
73",
authenticated_cmds::shamir_recovery_setup::Rep::ShamirSetupAlreadyExists,
authenticated_cmds::shamir_recovery_setup::Rep::load
);
Expand Down Expand Up @@ -94,7 +94,7 @@ pub fn rep_duplicate_share_for_recipient() {
// "status": "duplicate_share_for_recipient"
test_de_serialization!(
"81a6737461747573bd6475706c69636174655f73686172655f666f725f726563697069 \
656e74",
656e74",
authenticated_cmds::shamir_recovery_setup::Rep::DuplicateShareForRecipient,
authenticated_cmds::shamir_recovery_setup::Rep::load
);
Expand All @@ -105,7 +105,7 @@ pub fn rep_author_included_as_recipient() {
// "status": "author_included_as_recipient"
test_de_serialization!(
"81a6737461747573bc617574686f725f696e636c756465645f61735f72656369706965 \
6e74",
6e74",
authenticated_cmds::shamir_recovery_setup::Rep::AuthorIncludedAsRecipient,
authenticated_cmds::shamir_recovery_setup::Rep::load
);
Expand All @@ -116,7 +116,7 @@ pub fn rep_missing_share_for_recipient() {
// "status": "missing_share_for_recipient"
test_de_serialization!(
"81a6737461747573bb6d697373696e675f73686172655f666f725f726563697069656e \
74",
74",
authenticated_cmds::shamir_recovery_setup::Rep::MissingShareForRecipient,
authenticated_cmds::shamir_recovery_setup::Rep::load
);
Expand All @@ -127,7 +127,7 @@ pub fn rep_threshold_greater_than_total_shares() {
// "status": "threshold_greater_than_total_shares"
test_de_serialization!(
"81a6737461747573d9237468726573686f6c645f677265617465725f7468616e5f746f \
74616c5f736861726573",
74616c5f736861726573",
authenticated_cmds::shamir_recovery_setup::Rep::ThresholdGreaterThanTotalShares,
authenticated_cmds::shamir_recovery_setup::Rep::load
);
Expand All @@ -150,10 +150,10 @@ pub fn rep_timestamp_out_of_ballpark() {
};
test_de_serialization!(
"85a6737461747573b974696d657374616d705f6f75745f6f665f62616c6c7061726bbc \
62616c6c7061726b5f636c69656e745f6561726c795f6f6666736574cb404000000000 \
0000bb62616c6c7061726b5f636c69656e745f6c6174655f6f6666736574cb40400000 \
00000000b0636c69656e745f74696d657374616d70d70141d26580b4800000b0736572 \
7665725f74696d657374616d70d70141d26580b4800000",
62616c6c7061726b5f636c69656e745f6561726c795f6f6666736574cb404000000000 \
0000bb62616c6c7061726b5f636c69656e745f6c6174655f6f6666736574cb40400000 \
00000000b0636c69656e745f74696d657374616d70d70141d26580b4800000b0736572 \
7665725f74696d657374616d70d70141d26580b4800000",
req,
authenticated_cmds::shamir_recovery_setup::Rep::load
);
Expand Down

0 comments on commit 8652a04

Please sign in to comment.