diff options
Diffstat (limited to 'core/consensus-timestamp.go')
-rw-r--r-- | core/consensus-timestamp.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/consensus-timestamp.go b/core/consensus-timestamp.go index 62298d9..b21b3ed 100644 --- a/core/consensus-timestamp.go +++ b/core/consensus-timestamp.go @@ -63,8 +63,8 @@ func (ct *consensusTimestamp) appendConfig( func (ct *consensusTimestamp) processBlocks(blocks []*types.Block) (err error) { for _, block := range blocks { if !block.IsGenesis() { - block.ConsensusTimestamp, err = getMedianTime(ct.chainTimestamps) - if err != nil { + if block.Finalization.Timestamp, err = + getMedianTime(ct.chainTimestamps); err != nil { return } } |