From 1bd7ee72250ec48d404537206d4a49b6a52bc1f4 Mon Sep 17 00:00:00 2001 From: Roshan Date: Mon, 26 Feb 2024 10:42:50 +0800 Subject: [PATCH] update `SecondsPerDay` --- consensus/parlia/feynmanfork.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/consensus/parlia/feynmanfork.go b/consensus/parlia/feynmanfork.go index 1d55f90a0c..d430a916d2 100644 --- a/consensus/parlia/feynmanfork.go +++ b/consensus/parlia/feynmanfork.go @@ -18,10 +18,7 @@ import ( "github.com/ethereum/go-ethereum/rpc" ) -// TODO: SecondsPerDay represents the seconds in a day, it should be 86400 -// We set it to 60 for testing purpose and we will change it back to 86400 when launching -// const SecondsPerDay uint64 = 86400 -const SecondsPerDay uint64 = 60 +const SecondsPerDay uint64 = 86400 // the params should be two blocks' time(timestamp) func sameDayInUTC(first, second uint64) bool {