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.
Route *route.Route
// PaymentPreimage is the preimage of a successful payment. This serves
// as a proof of payment. It is only set for successful payments.
// Preimage is the preimage of a successful payment. This serves as a
// proof of payment. It is only set for successful payments.
Preimage lntypes.Preimage
// Failure is a failure reason code indicating the reason the payment
// failed. It is only set for failed payments.
// FailureReason is a failure reason code indicating the reason the
// payment failed. It is only set for failed payments.
FailureReason channeldb.FailureReason
}