Skip to content

Commit 9f7af1a

Browse files
chore: fix comment (#4603)
1 parent 43d601e commit 9f7af1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action/protocol/staking/vote_reviser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (vr *VoteReviser) NeedRevise(height uint64) bool {
173173
vr.shouldCorrectCandSelfStake(height)
174174
}
175175

176-
// NeedCorrectCands returns true if height needs to correct candidates
176+
// shouldReviseAlias returns true if height needs to revise candidate aliases
177177
func (vr *VoteReviser) shouldReviseAlias(height uint64) bool {
178178
return height == vr.cfg.CorrectCandsHeight
179179
}

0 commit comments

Comments
 (0)