Add stub message to chain block_production

This commit is contained in:
Paul Hauner 2019-01-08 18:04:42 +11:00
parent 355edeae2c
commit 09f1db0282
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -18,6 +18,11 @@ where
Error: From<<U as SlotClock>::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()?