Skip to content

Commit

Permalink
core/forkid: fix BSC mainnet genesis timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh0 committed Sep 6, 2024
1 parent e7e5d50 commit 4c24a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/forkid/forkid.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ var (
ErrLocalIncompatibleOrStale = errors.New("local incompatible or needs update")
)

// timestampThreshold is the Ethereum mainnet genesis timestamp. It is used to
// timestampThreshold is the BSC mainnet genesis timestamp. It is used to
// differentiate if a forkid.next field is a block number or a timestamp. Whilst
// very hacky, something's needed to split the validation during the transition
// period (block forks -> time forks).
const timestampThreshold = 1438269973
const timestampThreshold = 1705996800

// Blockchain defines all necessary method to build a forkID.
type Blockchain interface {
Expand Down

0 comments on commit 4c24a07

Please sign in to comment.