From 967903201786830a37216f5db4d1bf6edfbb41e2 Mon Sep 17 00:00:00 2001 From: fudancoder Date: Mon, 22 Jul 2024 15:11:28 +0800 Subject: [PATCH] chore: fix function name Signed-off-by: fudancoder --- internal/txcommon/txcommon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/txcommon/txcommon.go b/internal/txcommon/txcommon.go index 84c18ceb13..f7560daf72 100644 --- a/internal/txcommon/txcommon.go +++ b/internal/txcommon/txcommon.go @@ -146,7 +146,7 @@ func (t *transactionHelper) SubmitNewTransaction(ctx context.Context, txType cor return tx.ID, nil } -// SubmitTransactionBatch is called to do a batch insertion of a set of transactions, and returns an array of the transaction +// SubmitNewTransactionBatch is called to do a batch insertion of a set of transactions, and returns an array of the transaction // result. Each is either a transaction, or an idempotency failure. The overall action fails for DB errors other than idempotency. func (t *transactionHelper) SubmitNewTransactionBatch(ctx context.Context, namespace string, batch []*BatchedTransactionInsert) error {