Skip to content

Commit

Permalink
fix: unittest error
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Nov 25, 2024
1 parent 4d82a4d commit d82a29d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion agglayer/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,10 @@ func (c *CertificateHeader) ID() string {
return fmt.Sprintf("%d/%s", c.Height, c.CertificateID.String())
}

func (c CertificateHeader) String() string {
func (c *CertificateHeader) String() string {
if c == nil {
return "nil"
}
errors := ""
if c.Error != nil {
errors = c.Error.String()
Expand Down

0 comments on commit d82a29d

Please sign in to comment.