Skip to content

Commit

Permalink
writes block timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Aug 16, 2023
1 parent f1eced2 commit 64687de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -1712,9 +1712,7 @@ func (cs *State) finalizeCommit(height int64) {
// must be called before we update state
cs.recordMetrics(height, block)

// TODO log block.time
// blockTime := block.Header.Time
// block.Header.Height
schema.WriteBlock(cs.traceClient, block.Header.Height, block.Header.Time)

// NewHeightStep!
cs.updateToState(stateCopy)
Expand Down

0 comments on commit 64687de

Please sign in to comment.