File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ impl<S: Signer<T> + Send + 'static, T: SignerEventTrait + 'static> SignerTest<Sp
557
557
signer_signature_hash : & Sha512Trunc256Sum ,
558
558
expected_signers : & [ StacksPublicKey ] ,
559
559
) -> Result < ( ) , String > {
560
- // Make sure that ALL signers accepted the block proposal
560
+ // Make sure that at least 70% of signers accepted the block proposal
561
561
wait_for ( timeout_secs, || {
562
562
let signatures = test_observer:: get_stackerdb_chunks ( )
563
563
. into_iter ( )
@@ -585,7 +585,7 @@ impl<S: Signer<T> + Send + 'static, T: SignerEventTrait + 'static> SignerTest<Sp
585
585
}
586
586
} )
587
587
. collect :: < HashSet < _ > > ( ) ;
588
- Ok ( signatures. len ( ) == expected_signers. len ( ) )
588
+ Ok ( signatures. len ( ) > expected_signers. len ( ) * 7 / 10 )
589
589
} )
590
590
}
591
591
You can’t perform that action at this time.
0 commit comments