From 09f1db0282f5290acacc8cd43283a7f81b888705 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 8 Jan 2019 18:04:42 +1100 Subject: [PATCH] Add stub message to chain block_production --- lighthouse/beacon_chain/src/block_production.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lighthouse/beacon_chain/src/block_production.rs b/lighthouse/beacon_chain/src/block_production.rs index b83669cd2..ba781d6e9 100644 --- a/lighthouse/beacon_chain/src/block_production.rs +++ b/lighthouse/beacon_chain/src/block_production.rs @@ -18,6 +18,11 @@ where Error: From<::Error>, { pub fn produce_block(&mut self) -> Result<(BeaconBlock, BeaconState), Error> { + /* + * Important: this code is a big stub and only exists to ensure that tests pass. + * + * https://github.com/sigp/lighthouse/issues/107 + */ let present_slot = self .slot_clock .present_slot()?