From 8843165e3b9a4497539afa9a3fd5e1bf3e000a82 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Thu, 30 May 2024 14:41:40 +0800 Subject: [PATCH] core: refactor `TestStateProcessorErrors` --- core/state_processor_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state_processor_test.go b/core/state_processor_test.go index af4d29b604..ec4892b103 100644 --- a/core/state_processor_test.go +++ b/core/state_processor_test.go @@ -62,8 +62,8 @@ func TestStateProcessorErrors(t *testing.T) { Ethash: new(params.EthashConfig), TerminalTotalDifficulty: big.NewInt(0), TerminalTotalDifficultyPassed: true, - ShanghaiTime: new(uint64), - CancunTime: new(uint64), + ShanghaiTime: u64(0), + CancunTime: u64(0), } signer = types.LatestSigner(config) key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")