diff --git a/finality-aleph/src/network/base_protocol/config.rs b/finality-aleph/src/network/base_protocol/config.rs index 7d910e8351..dfc8c45721 100644 --- a/finality-aleph/src/network/base_protocol/config.rs +++ b/finality-aleph/src/network/base_protocol/config.rs @@ -6,7 +6,6 @@ use sc_network::{ NotificationService, }; use sc_network_common::sync::message::BlockAnnouncesHandshake; -use sp_core::H256; use sp_runtime::traits::{Block, Header}; use crate::{BlockHash, BlockNumber}; @@ -44,10 +43,9 @@ where BlockAnnouncesHandshake::::build( // All nodes are full nodes. (&Role::Full).into(), - // The best block number, always send a dummy value of 0. + // We always pretend the genesis block is our best block 0, - // The best block hash, always an obviously dummy value. - H256([0; 32]), + genesis_hash, genesis_hash, ), )),