From 0689b9e90ddccb7117f082845ee5572dbaa2dad3 Mon Sep 17 00:00:00 2001 From: Marko Date: Fri, 26 May 2023 09:40:10 +0200 Subject: [PATCH] fix: headerInfo time UTC() (#16291) --- types/context.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/context.go b/types/context.go index d1295fa83b..13f5a09c51 100644 --- a/types/context.go +++ b/types/context.go @@ -304,6 +304,8 @@ func (c Context) WithCometInfo(cometInfo comet.BlockInfo) Context { // WithHeaderInfo returns a Context with an updated header info func (c Context) WithHeaderInfo(headerInfo header.Info) Context { + // Settime to UTC + headerInfo.Time = headerInfo.Time.UTC() c.headerInfo = headerInfo return c }