Skip to content

Commit

Permalink
Update executor.go
Browse files Browse the repository at this point in the history
  • Loading branch information
randyahx committed Oct 25, 2023
1 parent a175059 commit 6056230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (e *Executor) GetLatestBlockHeight() (uint64, error) {
return latestHeight, nil
}

func (e *Executor) GetCachedBlockHeight() (latestHeight uint64) {
func (e *Executor) GetCachedBlockHeight() uint64 {
e.mtx.Lock()
cachedHeight := e.height
e.mtx.Unlock()
Expand Down

0 comments on commit 6056230

Please sign in to comment.