File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -3334,6 +3334,15 @@ pub mod test {
3334
3334
self . network. nakamoto_state_machine_passes,
3335
3335
nakamoto_passes + 1
3336
3336
) ;
3337
+ let epoch2_expected_passes = if self . network . stacks_tip . is_nakamoto {
3338
+ epoch2_passes
3339
+ } else {
3340
+ epoch2_passes + 1
3341
+ } ;
3342
+ assert_eq ! (
3343
+ self . network. epoch2_state_machine_passes,
3344
+ epoch2_expected_passes
3345
+ ) ;
3337
3346
}
3338
3347
if self
3339
3348
. network
@@ -3431,6 +3440,15 @@ pub mod test {
3431
3440
self . network. nakamoto_state_machine_passes,
3432
3441
nakamoto_passes + 1
3433
3442
) ;
3443
+ let epoch2_expected_passes = if self . network . stacks_tip . is_nakamoto {
3444
+ epoch2_passes
3445
+ } else {
3446
+ epoch2_passes + 1
3447
+ } ;
3448
+ assert_eq ! (
3449
+ self . network. epoch2_state_machine_passes,
3450
+ epoch2_expected_passes
3451
+ ) ;
3434
3452
}
3435
3453
if self
3436
3454
. network
You can’t perform that action at this time.
0 commit comments