Commit b6bebe59 authored by Hamdi Allam's avatar Hamdi Allam

typo

parent 79e51a76
...@@ -54,8 +54,8 @@ func (f *Fetcher) NextFinalizedHeaders() ([]*types.Header, error) { ...@@ -54,8 +54,8 @@ func (f *Fetcher) NextFinalizedHeaders() ([]*types.Header, error) {
if numHeaders == 0 { if numHeaders == 0 {
return nil, nil return nil, nil
} else if f.lastHeader != nil && headers[0].ParentHash != f.lastHeader.Hash() { } else if f.lastHeader != nil && headers[0].ParentHash != f.lastHeader.Hash() {
// The indexer's state is in an irrecoverable state relative the provider. This // The indexer's state is in an irrecoverable state relative to the provider. This
// SHOULD NEVER happens since the indexer is dealing with only finalize blcoks. // should never happen since the indexer is dealing with only finalized blocks.
return nil, ErrFetcherAndProviderMismatchedState return nil, ErrFetcherAndProviderMismatchedState
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment