aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus-timestamp.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/consensus-timestamp.go')
-rw-r--r--core/consensus-timestamp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/consensus-timestamp.go b/core/consensus-timestamp.go
index 9188c02..62298d9 100644
--- a/core/consensus-timestamp.go
+++ b/core/consensus-timestamp.go
@@ -63,7 +63,7 @@ func (ct *consensusTimestamp) appendConfig(
func (ct *consensusTimestamp) processBlocks(blocks []*types.Block) (err error) {
for _, block := range blocks {
if !block.IsGenesis() {
- block.Witness.Timestamp, err = getMedianTime(ct.chainTimestamps)
+ block.ConsensusTimestamp, err = getMedianTime(ct.chainTimestamps)
if err != nil {
return
}