Merge pull request #239 from str4d/heartwood-activation
Set activation heights for Heartwood network upgrade
This commit is contained in:
commit
cf75dc559d
|
@ -25,7 +25,7 @@ impl Parameters for MainNetwork {
|
|||
NetworkUpgrade::Overwinter => Some(347_500),
|
||||
NetworkUpgrade::Sapling => Some(419_200),
|
||||
NetworkUpgrade::Blossom => Some(653_600),
|
||||
NetworkUpgrade::Heartwood => None,
|
||||
NetworkUpgrade::Heartwood => Some(903_000),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ impl Parameters for TestNetwork {
|
|||
NetworkUpgrade::Overwinter => Some(207_500),
|
||||
NetworkUpgrade::Sapling => Some(280_000),
|
||||
NetworkUpgrade::Blossom => Some(584_000),
|
||||
NetworkUpgrade::Heartwood => None,
|
||||
NetworkUpgrade::Heartwood => Some(903_800),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -231,7 +231,7 @@ mod tests {
|
|||
);
|
||||
assert_eq!(
|
||||
BranchId::for_height::<MainNetwork>(5_000_000),
|
||||
BranchId::Blossom,
|
||||
BranchId::Heartwood,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue