htlcswitch: add resume modified HTLC action to switch
Introduce `ResumeModified` action to resume standard behavior of a p2p message with optional modifications as specified by the client during interception.
This commit is contained in:
1 parent
8d1059f41c
commit
abca4b8234
4 files changed
+91
-1
No files matched your search
@@ -383,6 +383,11 @@ type InterceptedForward interface {
|
||||
// this htlc which usually means forward it.
|
||||
Resume() error
|
||||
|
||||
// ResumeModified notifies the intention to resume an existing hold
|
||||
// forward with modified fields.
|
||||
ResumeModified(outgoingAmountMsat fn.Option[lnwire.MilliSatoshi],
|
||||
customRecords fn.Option[lnwire.CustomRecords]) error
|
||||
|
||||
// Settle notifies the intention to settle an existing hold
|
||||
// forward with a given preimage.
|
||||
Settle(lntypes.Preimage) error
|
||||
|
||||
Reference in new issue
Block a user