Skip to content

Commit 4516176

Browse files
committed
Fix send transaction bug
1 parent e998af0 commit 4516176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/txm/clientwrappers/dualbroadcast/meta_client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ func (a *MetaClient) SendTransaction(ctx context.Context, tx *types.Transaction,
166166
if err := a.SendOperation(ctx, tx, attempt, *meta); err != nil {
167167
return fmt.Errorf("failed to send operation for transactionID(%d): %w", tx.ID, err)
168168
}
169+
return nil
169170
}
171+
return errors.New("meta transaction was empty")
170172
}
171173
return a.c.SendTransaction(ctx, attempt.SignedTransaction)
172174
}

0 commit comments

Comments
 (0)