diff --git a/block/state.go b/block/state.go index f19ec108d..a500eb998 100644 --- a/block/state.go +++ b/block/state.go @@ -112,6 +112,7 @@ func (e *Executor) UpdateStateAfterInitChain(s *types.State, res *abci.ResponseI // We update the last results hash with the empty hash, to conform with RFC-6962. copy(s.LastResultsHash[:], merkle.HashFromByteSlices(nil)) + // we init the last submitted block time, to be able go calculate max skew time before first batch is submitted s.SetLastSubmittedBlockTime(time.Now()) }