Skip to content

Commit

Permalink
chore: fix some function names in comment (#1694)
Browse files Browse the repository at this point in the history
Signed-off-by: peicuiping <ezc5@sina.cn>
  • Loading branch information
peicuiping authored Jan 6, 2025
1 parent e725a11 commit 6e50edd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/lockup/keeper/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (k Keeper) HasLock(ctx sdk.Context, owner sdk.AccAddress, denom string, dur
return len(locks) > 0
}

// AddTokensToLock locks additional tokens into an existing lock with the given ID.
// AddTokensToLockByID locks additional tokens into an existing lock with the given ID.
// Tokens locked are sent and kept in the module account.
// This method alters the lock state in store, thus we do a sanity check to ensure
// lock owner matches the given owner.
Expand Down
2 changes: 1 addition & 1 deletion x/rollapp/keeper/sequencer_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SequencerHooks struct {
*Keeper
}

// AfterRecoveryFromHalt is called after a new sequencer is set the proposer for a halted rollapp.
// AfterSetRealProposer is called after a new sequencer is set the proposer for a halted rollapp.
// We assume the rollapp had forked once halted
func (h SequencerHooks) AfterSetRealProposer(ctx sdk.Context, rollapp string, newSeq sequencertypes.Sequencer) error {
// Start the liveness clock from zero
Expand Down

0 comments on commit 6e50edd

Please sign in to comment.