Skip to content

Commit

Permalink
chore: remove header nil log
Browse files Browse the repository at this point in the history
  • Loading branch information
izyak committed Nov 21, 2023
1 parent 11bf6ca commit a155090
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions relayer/processor/message_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ func (mp *messageProcessor) assembleMsgUpdateClient(ctx context.Context, src, ds
trustedConsensusHeight = clientConsensusHeight
trustedNextValidatorsHash = header.NextValidatorsHash()
}
if src.latestHeader == nil {
mp.log.Info("check for height error")
}
// fmt.Printf("Src latest Header in MP %v\n\n", src.latestHeader)

if src.latestHeader.Height() == trustedConsensusHeight.RevisionHeight &&
!bytes.Equal(src.latestHeader.NextValidatorsHash(), trustedNextValidatorsHash) {
Expand Down

0 comments on commit a155090

Please sign in to comment.