Skip to content

Commit

Permalink
Update aggsender/aggsender_initial_state.go
Browse files Browse the repository at this point in the history
Co-authored-by: Goran Rojovic <[email protected]>
  • Loading branch information
joanestebanr and goran-ethernal authored Jan 23, 2025
1 parent 9e67c4a commit 70b9b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggsender/aggsender_initial_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (i *InitialStatus) Process() (*InitialStatusResult, error) {
Cert: i.PendingCert}, nil
}

// We don't known if pendingCert is going to be settle or error.
// We don't known if pendingCert is going to be Settled or InError.
// We can't use it because maybe is error wrong height
if !i.PendingCert.Status.IsInError() && i.PendingCert.Height > 0 {
return nil, fmt.Errorf("recovery: pendingCert %s is in state %s but have a suspicious height, so we wait to finish",
Expand Down

0 comments on commit 70b9b5d

Please sign in to comment.