Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use time.Since instead of time.Now().Sub #12801

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

asamuj
Copy link
Contributor

@asamuj asamuj commented Dec 20, 2024

Related Issues

Proposed Changes

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

@rvagg rvagg added the skip/changelog This change does not require CHANGELOG.md update label Dec 20, 2024
cmd/lotus-miner/storage.go Outdated Show resolved Hide resolved
cmd/lotus-miner/storage.go Outdated Show resolved Hide resolved
storage/paths/local.go Outdated Show resolved Hide resolved
@rvagg
Copy link
Member

rvagg commented Dec 20, 2024

Thanks for this @asamuj, some nice cleanups in here. I have a local branch with all of these time.Since fixes, but I was also working my way through some additional staticcheck complaints before I bothered pushing it, but you beat me to this!
My only request is to wind back the 0 -> 0o changes you've made, otherwise I'm happy with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does not require CHANGELOG.md update
Projects
Status: 📌 Triage
Development

Successfully merging this pull request may close these issues.

2 participants