From 77ff91257d55d3f73299af69180756a800727990 Mon Sep 17 00:00:00 2001 From: Quentin Mc Gaw Date: Thu, 6 Feb 2025 17:37:47 +0100 Subject: [PATCH] Revert core.BlockGen Time -> Timestamp --- core/chain_makers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/chain_makers.go b/core/chain_makers.go index b258087734..aafb287f4b 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -187,8 +187,8 @@ func (b *BlockGen) Number() *big.Int { return new(big.Int).Set(b.header.Number) } -// Time returns the time of the block being generated. -func (b *BlockGen) Time() uint64 { +// Timestamp returns the timestamp of the block being generated. +func (b *BlockGen) Timestamp() uint64 { return b.header.Time }