multi: replace NotifyExitHopHtlc eob param with hop.Payload

This commit is contained in:
Conner Fromknecht
2019-11-04 15:10:32 -08:00
parent 70708e2e71
commit 9e9b912d3a
8 changed files with 27 additions and 10 deletions

View File

@@ -233,3 +233,9 @@ func ValidateParsedPayloadTypes(parsedTypes tlv.TypeSet,
return nil
}
// MultiPath returns the record corresponding the option_mpp parsed from the
// onion payload.
func (h *Payload) MultiPath() *record.MPP {
return h.MPP
}