multi: replace NotifyExitHopHtlc eob param with hop.Payload

This commit is contained in:
Conner Fromknecht committed 2019-11-04 15:10:32 -08:00
1 parent 70708e2e71
commit 9e9b912d3a
8 files changed
+27 -10

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package invoices
import "github.com/lightningnetwork/lnd/record"
// Payload abstracts access to any additional fields provided in the final hop's
// TLV onion payload.
type Payload interface {
// MultiPath returns the record corresponding the option_mpp parsed from
// the onion payload.
MultiPath() *record.MPP
}