Skip to content

Commit 3f2a150

Browse files
committed
fix the comment of FinalityAware::GetFinalizedHeader
Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
1 parent e7a2503 commit 3f2a150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/provers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type LightClient interface {
4949
// FinalityAware provides the capability to determine the finality of the chain
5050
type FinalityAware interface {
5151
// GetFinalizedHeader returns the finalized header on this chain corresponding to `height`.
52-
// If `height` is nil, this function returns the latest finalized header.
52+
// If `height` is zero, this function returns the latest finalized header.
5353
// If the header at `height` isn't finalized yet, this function returns an error.
5454
GetFinalizedHeader(height uint64) (Header, error)
5555
}

0 commit comments

Comments
 (0)