Skip to content

Commit

Permalink
fix(relayer): return nil, not error, if we dont have a previous msgha…
Browse files Browse the repository at this point in the history
…sh (#13968)
  • Loading branch information
cyberhorsey committed Jun 12, 2023
1 parent bf69226 commit 22a1171
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (svc *Service) saveMessageStatusChangedEvent(
}

if e == nil || e.MsgHash == "" {
return errors.New("message hash doesnt exist when it should")
return nil
}

_, err = svc.eventRepo.Save(ctx, relayer.SaveEventOpts{
Expand Down

0 comments on commit 22a1171

Please sign in to comment.