Skip to content

Commit

Permalink
remove os.IsExist useless condition on os.Stat
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau authored and billettc committed Dec 11, 2024
1 parent 086a441 commit e64da20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion blockpoller/state_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (p *BlockPoller[C]) isStateFileExist(stateStorePath string) bool {
p.logger.Info("cursor file check",
zap.String("state_store_path", stateStorePath),
zap.Bool("exist", exist),
zap.Error(err),
)
return exist
}
Expand Down

0 comments on commit e64da20

Please sign in to comment.