Add stub message to chain block_production
This commit is contained in:
parent
355edeae2c
commit
09f1db0282
@ -18,6 +18,11 @@ where
|
|||||||
Error: From<<U as SlotClock>::Error>,
|
Error: From<<U as SlotClock>::Error>,
|
||||||
{
|
{
|
||||||
pub fn produce_block(&mut self) -> Result<(BeaconBlock, BeaconState), 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
|
let present_slot = self
|
||||||
.slot_clock
|
.slot_clock
|
||||||
.present_slot()?
|
.present_slot()?
|
||||||
|
Loading…
Reference in New Issue
Block a user