Skip to content

Commit a3ea238

Browse files
authored
docs: remove extra spaces in the comments (#13386)
Signed-off-by: stemlaud <[email protected]>
1 parent 0afb407 commit a3ea238

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

blockstore/badger/blockstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type bsMoveState int
9696
const (
9797
// moveStateNone signifies that there is no move in progress
9898
moveStateNone bsMoveState = iota
99-
// moveStateMoving signifies that there is a move in a progress
99+
// moveStateMoving signifies that there is a move in a progress
100100
moveStateMoving
101101
// moveStateCleanup signifies that a move has completed or aborted and we are cleaning up
102102
moveStateCleanup

chain/actors/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func GetActorCodeIDsFromManifest(av actorstypes.Version) (map[string]cid.Cid, bo
101101
return cids, ok
102102
}
103103

104-
// LoadManifest will get the manifest for a given Manifest CID from the store and Load data into its entries
104+
// LoadManifest will get the manifest for a given Manifest CID from the store and Load data into its entries
105105
func LoadManifest(ctx context.Context, mfCid cid.Cid, adtStore adt.Store) (*manifest.Manifest, error) {
106106
var mf manifest.Manifest
107107

chain/index/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const retryDelay = 150 * time.Millisecond
2020
// PopulateFromSnapshot initializes and populates the chain index from a snapshot.
2121
//
2222
// This function creates a new Index at the specified path and populates
23-
// it by using the chain state from the provided ChainStore. It starts from the heaviest
23+
// it by using the chain state from the provided ChainStore. It starts from the heaviest
2424
// tipset and works backwards, indexing each tipset until it reaches the genesis
2525
// block or encounters a tipset for which it is unable to find messages in the chain store.
2626
//

chain/sync_manager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func TestSyncManagerBucketSet(t *testing.T) {
255255
require.Equal(t, 1, len(bucketSet.buckets))
256256
require.Equal(t, 3, len(bucketSet.buckets[0].tips))
257257

258-
// inserting a tipset from new chain, should create a new bucket
258+
// inserting a tipset from new chain, should create a new bucket
259259
ts4fork := mock.TipSet(mock.MkBlock(nil, 1, 1))
260260
bucketSet.Insert(ts4fork)
261261
require.Equal(t, 2, len(bucketSet.buckets))

0 commit comments

Comments
 (0)