Skip to content

Commit

Permalink
misbehaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jan 24, 2025
1 parent 98040e9 commit 5842c9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions relayer/chains/parsing.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@ func (res *ClientInfo) parseClientAttribute(log *zap.Logger, attr sdk.Attribute)
RevisionNumber: revisionNumber,
RevisionHeight: revisionHeight,
}
case "header":
data, err := hex.DecodeString(attr.Value)
if err != nil {
log.Error("Error parsing client header",
zap.String("header", attr.Value),
zap.Error(err),
)
return
}
res.Header = data
}
}

Expand Down

0 comments on commit 5842c9f

Please sign in to comment.