multi: thread context through RegisterAttempt method
This commit is contained in:
9 files changed
+70
-42
No files matched your search
@@ -75,7 +75,8 @@ type PaymentControl interface {
|
||||
// - Result: 1700 sats sent, exceeding the payment amount
|
||||
// The payment router/controller layer is responsible for ensuring
|
||||
// serialized access per payment hash.
|
||||
RegisterAttempt(lntypes.Hash, *HTLCAttemptInfo) (*MPPayment, error)
|
||||
RegisterAttempt(context.Context, lntypes.Hash,
|
||||
*HTLCAttemptInfo) (*MPPayment, error)
|
||||
|
||||
// SettleAttempt marks the given attempt settled with the preimage. If
|
||||
// this is a multi shard payment, this might implicitly mean the
|
||||
|
||||
Reference in new issue
Block a user