File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11737,13 +11737,17 @@ fn multiple_miners_empty_sortition() {
11737
11737
// lets mine a btc flash block
11738
11738
let rl2_commits_before = rl2_commits. load ( Ordering :: SeqCst ) ;
11739
11739
let rl1_commits_before = rl1_commits. load ( Ordering :: SeqCst ) ;
11740
+ let info_before = get_chain_info ( & conf) ;
11741
+
11740
11742
signer_test
11741
11743
. running_nodes
11742
11744
. btc_regtest_controller
11743
11745
. build_next_block ( 2 ) ;
11744
11746
11745
11747
wait_for ( 60 , || {
11746
- Ok ( rl2_commits. load ( Ordering :: SeqCst ) > rl2_commits_before
11748
+ let info = get_chain_info ( & conf) ;
11749
+ Ok ( info. burn_block_height >= 2 + info_before. burn_block_height
11750
+ && rl2_commits. load ( Ordering :: SeqCst ) > rl2_commits_before
11747
11751
&& rl1_commits. load ( Ordering :: SeqCst ) > rl1_commits_before)
11748
11752
} )
11749
11753
. unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments