validateTxn validates a transaction by checking if its reference has already been used. It starts a tracing span, checks the existence of the transaction reference, and records relevant events and errors. Parameters: - ctx context.Context: The context for the operation. - transaction *model.Transac
(ctx context.Context, transaction *model.Transaction)
source not stored for this graph (policy: none)