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 62bdf0c..c43ca82 100644
--- a/core/consensus-timestamp.go
+++ b/core/consensus-timestamp.go
@@ -44,7 +44,7 @@ func newConsensusTimestamp() *consensusTimestamp {
func (ct *consensusTimestamp) processBlocks(blocks []*types.Block) (err error) {
for _, block := range blocks {
if !block.IsGenesis() {
- block.Notary.Timestamp, err = getMedianTime(ct.chainTimestamps)
+ block.Witness.Timestamp, err = getMedianTime(ct.chainTimestamps)
if err != nil {
return
}