Skip to content

Commit

Permalink
Improve error
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Oct 21, 2024
1 parent c46f3b6 commit ebf72c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grandpa/warp_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (p *WarpSyncProofProvider) Generate(start common.Hash) ([]byte, error) {

authoritySetChanges, err := p.grandpaState.GetAuthoritiesChangesFromBlock(beginBlockHeader.Number)
if err != nil {
return nil, err
return nil, fmt.Errorf("getting auth changes: %w", err)
}

limitReached := false
Expand Down

0 comments on commit ebf72c6

Please sign in to comment.