diff options
Diffstat (limited to 'core/consensus-timestamp_test.go')
-rw-r--r-- | core/consensus-timestamp_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/consensus-timestamp_test.go b/core/consensus-timestamp_test.go index 8a82080..aeba00a 100644 --- a/core/consensus-timestamp_test.go +++ b/core/consensus-timestamp_test.go @@ -79,7 +79,7 @@ func fillBlocksTimestamps(blocks []*types.Block, validatorNum int, func extractTimestamps(blocks []*types.Block) []time.Time { timestamps := make([]time.Time, len(blocks)) for idx, block := range blocks { - timestamps[idx] = block.ConsensusTime + timestamps[idx] = block.ConsensusInfo.Timestamp } return timestamps } |