Skip to content

Commit

Permalink
chore: fix comment (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
yumeiyin authored May 23, 2024
1 parent d1cb92e commit 9b7fe28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/streamer/keeper/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (k Keeper) moveActiveStreamToFinishedStream(ctx sdk.Context, stream types.S
return k.moveStreamToFinishedStream(ctx, stream, types.KeyPrefixActiveStreams)
}

// moveActiveStreamToFinishedStream moves a stream that has completed its distribution from an active to a finished status.
// moveStreamToFinishedStream moves a stream that has completed its distribution from an active to a finished status.
func (k Keeper) moveStreamToFinishedStream(ctx sdk.Context, stream types.Stream, prefixKey []byte) error {
timeKey := getTimeKey(stream.StartTime)
if err := k.deleteStreamRefByKey(ctx, combineKeys(prefixKey, timeKey), stream.Id); err != nil {
Expand Down

0 comments on commit 9b7fe28

Please sign in to comment.