Skip to content

Commit

Permalink
Updates latest stored test config
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 authored and oxarbitrage committed May 19, 2024
1 parent bc42222 commit cfc60b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-network/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ impl<'de> Deserialize<'de> for Config {
)
.map_err(|err| {
de::Error::custom(format!(
"hex-encoded target difficulty limit is too long: {err:?}"
"hex-encoded target difficulty must be 64 chars: {err:?}"
))
})?,
));
Expand Down
3 changes: 3 additions & 0 deletions zebrad/tests/common/configs/v1.8.0.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ peerset_initial_target_size = 25
[network.testnet_parameters]
network_name = "ConfiguredTestnet_1"
network_magic = [0, 0, 0, 0]
slow_start_interval = 0
target_difficulty_limit = "0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f"
disable_pow = true

[network.testnet_parameters.activation_heights]
BeforeOverwinter = 1
Expand Down

0 comments on commit cfc60b2

Please sign in to comment.