Add PubsubMessage and publish function to behaviour

This commit is contained in:
Age Manning
2019-03-25 22:00:11 +11:00
parent 214fb5b8ff
commit 05369df7e8
6 changed files with 78 additions and 12 deletions

View File

@@ -109,7 +109,7 @@ where
let state = self.get_state();
HelloMessage {
network_id: spec.network_id,
network_id: spec.chain_id,
latest_finalized_root: state.finalized_root,
latest_finalized_epoch: state.finalized_epoch,
best_root: self.best_block_root(),