Skip to content

Commit 3db81fd

Browse files
committed
chore: minor improvement for docs
Signed-off-by: liuyueyangxmu <[email protected]>
1 parent fa5b256 commit 3db81fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/chainsync/syncer/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ func (syncer *Syncer) getFullBlock(ctx context.Context, tipset *types.TipSet) (*
678678
return types.NewFullTipSet(fullBlocks), nil
679679
}
680680

681-
// processTipSetSegment process a batch of tipset in turn
681+
// processTipSetSegment process a batch of tipset in turn.
682682
func (syncer *Syncer) processTipSetSegment(ctx context.Context, target *syncTypes.Target, parent *types.TipSet, segTipset []*types.TipSet) (*types.TipSet, error) {
683683
for i, ts := range segTipset {
684684
err := syncer.syncOne(ctx, parent, ts)

venus-shared/types/messager/address.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
AddressStateAlive
1616
AddressStateRemoving
1717
AddressStateRemoved
18-
AddressStateForbbiden // forbbiden received message
18+
AddressStateForbbiden // forbbiden to received message
1919
)
2020

2121
func (as AddressState) String() string {

venus-shared/types/messager/message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ type MsgQueryParams struct {
166166
// Message From
167167
From []address.Address
168168

169-
// the time stamp that query msgs updated before
169+
// the timestamp that query msgs updated before
170170
ByUpdateAt *time.Time
171171

172172
// order by Asc or Desc, Default is Desc

0 commit comments

Comments
 (0)