Skip to content

Commit 77ff912

Browse files
committed
Revert core.BlockGen Time -> Timestamp
1 parent 7a882f9 commit 77ff912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/chain_makers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ func (b *BlockGen) Number() *big.Int {
187187
return new(big.Int).Set(b.header.Number)
188188
}
189189

190-
// Time returns the time of the block being generated.
191-
func (b *BlockGen) Time() uint64 {
190+
// Timestamp returns the timestamp of the block being generated.
191+
func (b *BlockGen) Timestamp() uint64 {
192192
return b.header.Time
193193
}
194194

0 commit comments

Comments
 (0)