Updates test docs
This commit is contained in:
parent
b7957e9bc5
commit
13d59add1f
|
@ -98,8 +98,9 @@ fn check_parameters_impl() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Checks that `NetworkUpgrade::activation_height()` returns the activation height of the next
|
/// Checks that `NetworkUpgrade::activation_height()` returns the activation height of the next
|
||||||
/// network upgrade if it doesn't find an activation height for a prior network upgrade, and that the
|
/// network upgrade if it doesn't find an activation height for a prior network upgrade, that the
|
||||||
/// `Genesis` upgrade is always at `Height(0)`.
|
/// `Genesis` upgrade is always at `Height(0)`, and that the default Mainnet/Testnet/Regtest activation
|
||||||
|
/// heights are what's expected.
|
||||||
#[test]
|
#[test]
|
||||||
fn activates_network_upgrades_correctly() {
|
fn activates_network_upgrades_correctly() {
|
||||||
let expected_activation_height = 1;
|
let expected_activation_height = 1;
|
||||||
|
|
Loading…
Reference in New Issue