From a943fcee3c28ed7c4432a2a894105a42d7df7a56 Mon Sep 17 00:00:00 2001 From: wit765 <765765346@qq.com> Date: Mon, 8 Sep 2025 23:30:09 +0800 Subject: [PATCH] internal/ethapi: fix time type (#1455) Co-authored-by: wit --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index c5710c11e4..242f7f024d 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -602,7 +602,7 @@ func (diff *BlockOverrides) Apply(blockCtx *vm.BlockContext) { blockCtx.Difficulty = diff.Difficulty.ToInt() } if diff.Time != nil { - blockCtx.Time = diff.Time.ToInt() + blockCtx.Time = diff.Time.ToInt().Uint64() } if diff.GasLimit != nil { blockCtx.GasLimit = uint64(*diff.GasLimit)