routing/control_tower: fix PaymentResult godocs

This commit is contained in:
Conner Fromknecht 2019-11-19 20:40:44 -08:00
parent fbd599a2cb
commit 9e019407fb
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -56,12 +56,12 @@ type PaymentResult struct {
// for successful payments. // for successful payments.
Route *route.Route Route *route.Route
// PaymentPreimage is the preimage of a successful payment. This serves // Preimage is the preimage of a successful payment. This serves as a
// as a proof of payment. It is only set for successful payments. // proof of payment. It is only set for successful payments.
Preimage lntypes.Preimage Preimage lntypes.Preimage
// Failure is a failure reason code indicating the reason the payment // FailureReason is a failure reason code indicating the reason the
// failed. It is only set for failed payments. // payment failed. It is only set for failed payments.
FailureReason channeldb.FailureReason FailureReason channeldb.FailureReason
} }