Skip to content

Commit

Permalink
style(comments): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed Sep 29, 2020
1 parent 69f6fdf commit a400317
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Revalidator interface {
// OnPullDataSent is called on the responder side when more bytes are sent
// for a given pull request. The first value indicates whether the request was
// recognized by this revalidator and should be considered 'handled'. If true,
// the remaining to values are interpreted. If 'false' the request is passed on
// the remaining two values are interpreted. If 'false' the request is passed on
// to the next revalidators.
// It should return a VoucherResult + ErrPause to
// request revalidation or nil to continue uninterrupted,
Expand All @@ -42,15 +42,15 @@ type Revalidator interface {
// OnPushDataReceived is called on the responder side when more bytes are received
// for a given push request. The first value indicates whether the request was
// recognized by this revalidator and should be considered 'handled'. If true,
// the remaining to values are interpreted. If 'false' the request is passed on
// the remaining two values are interpreted. If 'false' the request is passed on
// to the next revalidators. It should return a VoucherResult + ErrPause to
// request revalidation or nil to continue uninterrupted,
// other errors will terminate the request
OnPushDataReceived(chid ChannelID, additionalBytesReceived uint64) (bool, VoucherResult, error)
// OnComplete is called to make a final request for revalidation -- often for the
// purpose of settlement. The first value indicates whether the request was
// recognized by this revalidator and should be considered 'handled'. If true,
// the remaining to values are interpreted. If 'false' the request is passed on
// the remaining two values are interpreted. If 'false' the request is passed on
// to the next revalidators.
// if VoucherResult is non nil, the request will enter a settlement phase awaiting
// a final update
Expand Down

0 comments on commit a400317

Please sign in to comment.