Skip to content

Commit

Permalink
Add NU5 to the protocol::version_consistent test
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Mar 1, 2021
1 parent da2e832 commit ae76f99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zebra-network/src/protocol/external/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ mod test {
zebra_test::init();

let highest_network_upgrade = NetworkUpgrade::current(network, block::Height::MAX);
assert!(highest_network_upgrade == Canopy || highest_network_upgrade == Heartwood,
assert!(highest_network_upgrade == NU5 || highest_network_upgrade == Canopy,
"expected coverage of all network upgrades: add the new network upgrade to the list in this test");

for &network_upgrade in &[
Expand All @@ -199,6 +199,7 @@ mod test {
Blossom,
Heartwood,
Canopy,
NU5,
] {
let height = network_upgrade.activation_height(network);
if let Some(height) = height {
Expand Down

0 comments on commit ae76f99

Please sign in to comment.