diff --git a/dot/sync/unready_blocks.go b/dot/sync/unready_blocks.go index d08d69ee16..10bdcdbcee 100644 --- a/dot/sync/unready_blocks.go +++ b/dot/sync/unready_blocks.go @@ -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() diff --git a/internal/client/consensus/grandpa/environment.go b/internal/client/consensus/grandpa/environment.go index fd836c321e..9b42efdaf8 100644 --- a/internal/client/consensus/grandpa/environment.go +++ b/internal/client/consensus/grandpa/environment.go @@ -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]{} }