From b5da520319b5b08d9279e30f46578038beb8f443 Mon Sep 17 00:00:00 2001 From: gop Date: Wed, 13 Sep 2023 10:01:33 -0500 Subject: [PATCH] bugfix: Not setting time on GetPendingHeader --- core/slice.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/slice.go b/core/slice.go index 9a33e04f69..f775d31711 100644 --- a/core/slice.go +++ b/core/slice.go @@ -625,7 +625,6 @@ func (sl *Slice) poem(externS *big.Int, currentS *big.Int) bool { // GetPendingHeader is used by the miner to request the current pending header func (sl *Slice) GetPendingHeader() (*types.Header, error) { if ph, exists := sl.readPhCache(sl.bestPhKey); exists { - ph.Header().SetTime(uint64(time.Now().Unix())) return ph.Header(), nil } else { return nil, errors.New("empty pending header")