Skip to content

Commit

Permalink
(doc): Add expected range return val in iface
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Oct 11, 2023
1 parent 210cb9a commit 8eb3f56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ type Getter[H Header[H]] interface {

// GetRangeByHeight requests the header range from the provided Header and
// verifies that the returned headers are adjacent to each other.
// Expected to return the range [from.Height()+1:to).
GetRangeByHeight(ctx context.Context, from H, to uint64) ([]H, error)
}

Expand Down

0 comments on commit 8eb3f56

Please sign in to comment.