applyTransactionToBalances applies a transaction to the provided balances. It starts a tracing span, calculates new balances, and updates the balances based on the transaction status. Parameters: - ctx context.Context: The context for the operation. - balances []*model.Balance: A slice of Balance m
(ctx context.Context, balances []*model.Balance, transaction *model.Transaction)
source not stored for this graph (policy: none)
no test coverage detected