Skip to content

Commit

Permalink
Update zebra-chain/src/parameters/network/testnet.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 authored May 14, 2024
1 parent 29166cf commit 80a9d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-chain/src/parameters/network/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl ParametersBuilder {
/// Sets the network name to be used in the [`Parameters`] being built.
pub fn with_network_magic(mut self, network_magic: Magic) -> Self {
assert!(
[magics::MAINNET, magics::TESTNET, magics::REGTEST]
[magics::MAINNET, magics::REGTEST]
.into_iter()
.all(|reserved_magic| network_magic != reserved_magic),
"network magic should be distinct from reserved network magics"
Expand Down

0 comments on commit 80a9d26

Please sign in to comment.