Skip to content

Commit

Permalink
Revert core.BlockGen Time -> Timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Feb 6, 2025
1 parent 7a882f9 commit 77ff912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/chain_makers.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ func (b *BlockGen) Number() *big.Int {
return new(big.Int).Set(b.header.Number)
}

// Time returns the time of the block being generated.
func (b *BlockGen) Time() uint64 {
// Timestamp returns the timestamp of the block being generated.
func (b *BlockGen) Timestamp() uint64 {
return b.header.Time
}

Expand Down

0 comments on commit 77ff912

Please sign in to comment.