Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dot/sync/unready_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (u *unreadyBlocks) removeIncompleteBlocks(del func(key common.Hash, value *
maps.DeleteFunc(u.incompleteBlocks, del)
}

// pruneFragments will iterate over the disjoint fragments and check if they
// pruneDisjointFragments will iterate over the disjoint fragments and check if they
// can be removed based on the del param
func (u *unreadyBlocks) pruneDisjointFragments(del func(*Fragment) bool) {
u.mtx.Lock()
Expand Down
2 changes: 1 addition & 1 deletion internal/client/consensus/grandpa/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func (mvdt voterSetStateVDT[H, N]) ValueAt(index uint) (value any, err error) {
return nil, scale.ErrUnsupportedVaryingDataTypeValue
}

// newVoterSetState is constructor for voterSetState
// newVoterSetStateVDT is constructor for voterSetState
func newVoterSetStateVDT[H runtime.Hash, N runtime.Number]() *voterSetStateVDT[H, N] {
return &voterSetStateVDT[H, N]{}
}
Expand Down