File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1422,9 +1422,8 @@ mod tests {
14221422 let reorg_start = end_num - 5 ;
14231423 let depth = head_now - reorg_start + 1 ;
14241424 let _ = provider. anvil_reorg ( ReorgOptions { depth, tx_block_pairs : vec ! [ ] } ) . await ;
1425- let _ = provider. anvil_mine ( Option :: Some ( 20 ) , Option :: None ) . await ;
1426-
14271425 sleep ( Duration :: from_secs ( 2 ) ) . await ;
1426+ let _ = provider. anvil_mine ( Option :: Some ( 20 ) , Option :: None ) . await ;
14281427
14291428 drop ( lock) ;
14301429 } ;
@@ -1494,9 +1493,9 @@ mod tests {
14941493 // Reorg back to previous head aka our end num
14951494 let depth = pre_reorg_mine + 1 ;
14961495 let _ = provider. anvil_reorg ( ReorgOptions { depth, tx_block_pairs : vec ! [ ] } ) . await ;
1496+ sleep ( Duration :: from_secs ( 2 ) ) . await ;
14971497 let _ = provider. anvil_mine ( Option :: Some ( 20 ) , Option :: None ) . await ;
14981498
1499- sleep ( Duration :: from_secs ( 2 ) ) . await ;
15001499 drop ( lock) ;
15011500 } ;
15021501
You can’t perform that action at this time.
0 commit comments