Skip to content

Commit 9e12e4c

Browse files
committed
fixes test hang when there are NUs defined without activation heights
1 parent 8d302bb commit 9e12e4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zebra-consensus/src/transaction/tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,6 +2870,8 @@ async fn v5_consensus_branch_ids() {
28702870
// Check an outdated network upgrade.
28712871
let Some(height) = next_nu.activation_height(&network) else {
28722872
tracing::warn!(?next_nu, "missing activation height",);
2873+
// Shift the network upgrade for the next loop iteration.
2874+
network_upgrade = next_nu;
28732875
continue;
28742876
};
28752877

0 commit comments

Comments
 (0)