Skip to content

Commit bda6c34

Browse files
authored
Merge pull request #1543 from fudancoder/main
chore: fix function name
2 parents 53e42cd + e20b2eb commit bda6c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/txcommon/txcommon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (t *transactionHelper) SubmitNewTransaction(ctx context.Context, txType cor
146146
return tx.ID, nil
147147
}
148148

149-
// SubmitTransactionBatch is called to do a batch insertion of a set of transactions, and returns an array of the transaction
149+
// SubmitNewTransactionBatch is called to do a batch insertion of a set of transactions, and returns an array of the transaction
150150
// result. Each is either a transaction, or an idempotency failure. The overall action fails for DB errors other than idempotency.
151151
func (t *transactionHelper) SubmitNewTransactionBatch(ctx context.Context, namespace string, batch []*BatchedTransactionInsert) error {
152152

0 commit comments

Comments
 (0)