Skip to content

Commit

Permalink
More randomness
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Jan 30, 2024
1 parent 01a1b38 commit 01cdc02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pythnet/pythnet_sdk/src/test_utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,6 @@ pub fn trim_vaa_signatures(vaa: Vec<u8>, n: u8) -> Vec<u8> {
.choose_multiple(&mut thread_rng(), n.into())
.cloned()
.collect();
parsed_vaa.signatures.sort_by(|a, b| a.index.cmp(&b.index));
serde_wormhole::to_vec(&parsed_vaa).unwrap()
}

0 comments on commit 01cdc02

Please sign in to comment.