Skip to content

Commit

Permalink
bindings/rust/src/lib.rs: fix the test with limited stack size.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Jul 23, 2024
1 parent 104ad64 commit 8e55ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ macro_rules! sig_variant_impl {
#[test]
fn test_multi_point() {
let dst = b"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_";
let num_pks = 10;
let num_pks = 13;

let seed = [0u8; 32];
let mut rng = ChaCha20Rng::from_seed(seed);
Expand Down Expand Up @@ -2018,7 +2018,7 @@ macro_rules! sig_variant_impl {
sigs.iter().map(|s| s).collect();

// create random values
let mut rands: Vec<u8> = Vec::with_capacity(32 * num_pks);
let mut rands: Vec<u8> = Vec::with_capacity(8 * num_pks);
for _ in 0..num_pks {
let mut r = rng.next_u64();
while r == 0 {
Expand Down

0 comments on commit 8e55ebf

Please sign in to comment.