Skip to content

Commit

Permalink
webtransport: fix docstring comment for getCurrentBucketStartTime
Browse files Browse the repository at this point in the history
Signed-off-by: linchizhen <[email protected]>
  • Loading branch information
linchizhen authored Dec 23, 2024
1 parent 7ce9c50 commit 233720d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/transport/webtransport/cert_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func newCertManager(hostKey ic.PrivKey, clock clock.Clock) (*certManager, error)
return m, nil
}

// getCurrentTimeBucket returns the canonical start time of the given time as
// getCurrentBucketStartTime returns the canonical start time of the given time as
// bucketed by ranges of certValidity since unix epoch (plus an offset). This
// lets you get the same time ranges across reboots without having to persist
// state.
Expand Down

0 comments on commit 233720d

Please sign in to comment.