use genesis hash but not sha256 of genesis file
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
69ff90dd9a
commit
7f498ec850
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ghost-telemetry-core"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
authors = ["Uncle Stinky uncle.stinky@ghostchain.io"]
|
||||
edition = "2021"
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ pub struct RemoveNodeResult {
|
||||
/// number of nodes to connect.
|
||||
static FIRST_PARTY_NETWORKS: Lazy<HashSet<BlockHash>> = Lazy::new(|| {
|
||||
let genesis_hash_strs = &[
|
||||
"0x74f5a6df5e33dac94a8852ddfb73e472283bba0b30e260ca581919eb50c734db", // Casper runtime v4.0.14
|
||||
"0xcaf9c5ddccc7ba6f96149a6b8a81c26a3641742795cd5e7e0aee79bf3f4e77b7", // Casper runtime v4.0.14
|
||||
];
|
||||
|
||||
genesis_hash_strs
|
||||
|
||||
@ -278,7 +278,7 @@ mod test {
|
||||
}
|
||||
|
||||
fn get_valid_genesis() -> BlockHash {
|
||||
BlockHash::from_str("0x74f5a6df5e33dac94a8852ddfb73e472283bba0b30e260ca581919eb50c734db")
|
||||
BlockHash::from_str("0xcaf9c5ddccc7ba6f96149a6b8a81c26a3641742795cd5e7e0aee79bf3f4e77b7")
|
||||
.expect("Should be good genesis")
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user