Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
george-dorin committed Nov 14, 2024
1 parent 63717ee commit edf74cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/services/ocrcommon/transmitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ type ocr2FeedsDualTransmission struct {
func (t *ocr2FeedsDualTransmission) CreateEthTransaction(ctx context.Context, toAddress common.Address, payload []byte, txMeta *txmgr.TxMeta) error {
// Primary transmission
errPrimary := t.transmitter.CreateEthTransaction(ctx, toAddress, payload, txMeta)
errPrimary = fmt.Errorf("skipped primary transmission: %w", errPrimary)
if errPrimary != nil {
errPrimary = fmt.Errorf("skipped primary transmission: %w", errPrimary)
}

if txMeta == nil {
txMeta = &txmgr.TxMeta{}
}
Expand Down

0 comments on commit edf74cf

Please sign in to comment.