12 lines
319 B
Go
12 lines
319 B
Go
|
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
|
||
|
}
|