Skip to content

Commit 61737b7

Browse files
chore: fix some minor issues in the comments (#13185)
Signed-off-by: shandongzhejiang <[email protected]>
1 parent cee25a6 commit 61737b7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

chain/events/events_called.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ type StateMatchFunc func(oldTs, newTs *types.TipSet) (bool, StateChange, error)
390390
// - `StateChangeHandler` is called when the specified state change was observed
391391
// on-chain, and a confidence threshold was reached, or the specified `timeout`
392392
// height was reached with no state change observed. When this callback is
393-
// invoked on a timeout, `oldTs` and `states are set to nil.
393+
// invoked on a timeout, `oldTs` and `states` are set to nil.
394394
// This callback returns a boolean specifying whether further notifications
395395
// should be sent, like `more` return param from `CheckFunc` above.
396396
//

cmd/lotus-pcr/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var findMinersCmd = &cli.Command{
116116
Name: "find-miners",
117117
Usage: "find miners with a desired minimum balance",
118118
Description: `Find miners returns a list of miners and their balances that are below a
119-
threhold value. By default only the miner actor available balance is considered but other
119+
threshold value. By default only the miner actor available balance is considered but other
120120
account balances can be included by enabling them through the flags.
121121
122122
Examples

cmd/lotus-shed/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ var diffMinerStates = &cli.Command{
146146
}
147147

148148
if sectorsSnapshotA.Length() != sectorsSnapshotB.Length() {
149-
fmt.Println("sector snapshots have different lengts!")
149+
fmt.Println("sector snapshots have different lengths!")
150150
}
151151

152152
var infoA miner9.SectorOnChainInfo

documentation/en/api-experimental-user-facing-v2-docs/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This directory contains the experimental user-facing documentation for Filecoin'
99

1010
## Workflow
1111
1. (If this hasn't already been don) Copy updates from Notion into this repository
12-
2. Make changes, likely using Claude Code by pointing to to local changes or changes in a PR.
12+
2. Make changes, likely using Claude Code by pointing to local changes or changes in a PR.
1313
2. Regenerate the table of contents if you've added or modified sections
1414
3. Submit changes for team review via pull request
1515
4. After approval, publish updated content back to Notion

0 commit comments

Comments
 (0)