Skip to content

Commit

Permalink
update SecondsPerDay
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Feb 26, 2024
1 parent dd4fe00 commit 1bd7ee7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions consensus/parlia/feynmanfork.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1bd7ee7

Please sign in to comment.