Skip to content

Commit

Permalink
Remove transmitterID check
Browse files Browse the repository at this point in the history
  • Loading branch information
ferglor committed Nov 15, 2023
1 parent b8280e1 commit 1af91a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/services/ocr2/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -1084,9 +1084,9 @@ func (d *Delegate) newServicesOCR2Keepers21(
}

transmitterID := spec.TransmitterID.String
if len(transmitterID) != 64 {
return nil, errors.Errorf("ServicesForSpec: keepers job type requires transmitter ID to be a 32-byte hex string, got: %q", transmitterID)
}
//if len(transmitterID) != 64 {
// return nil, errors.Errorf("ServicesForSpec: keepers job type requires transmitter ID to be a 32-byte hex string, got: %q", transmitterID)
//}

relayer, err := d.RelayGetter.Get(rid)
if err != nil {
Expand Down Expand Up @@ -1235,9 +1235,9 @@ func (d *Delegate) newServicesOCR2Keepers20(
}

transmitterID := spec.TransmitterID.String
if len(transmitterID) != 64 {
return nil, errors.Errorf("ServicesForSpec: keepers job type requires transmitter ID to be a 32-byte hex string, got: %q", transmitterID)
}
//if len(transmitterID) != 64 {
// return nil, errors.Errorf("ServicesForSpec: keepers job type requires transmitter ID to be a 32-byte hex string, got: %q", transmitterID)
//}

relayer, err := d.RelayGetter.Get(rid)
if err != nil {
Expand Down

0 comments on commit 1af91a1

Please sign in to comment.