routing/control_tower: fix PaymentResult godocs

This commit is contained in:
Conner Fromknecht committed 2019-11-19 20:40:44 -08:00
1 parent fbd599a2cb
commit 9e019407fb
1 file changed
+4 -4
+4 -4
View File
@@ -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
} }