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.
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
}