MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / RefundTransaction

Method RefundTransaction

transaction.go:2347–2376  ·  view source on GitHub ↗

RefundTransaction processes a refund for a given transaction by its ID. It starts a tracing span, retrieves the original transaction, validates its status, creates a new refund transaction, and queues it. Parameters: - ctx context.Context: The context for the operation. - transactionID string: The

(ctx context.Context, transactionID string, skipQueue bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestRejectTransactionFunction · 0.95
RefundWorkerMethod · 0.95

Calls 5

QueueTransactionMethod · 0.95
prepareRefundTransactionFunction · 0.85
StartMethod · 0.45

Tested by 3

TestRejectTransactionFunction · 0.76