From 9e019407fbce0808ed93995b05a80f7efd292233 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Tue, 19 Nov 2019 20:40:44 -0800 Subject: [PATCH] routing/control_tower: fix PaymentResult godocs --- routing/control_tower.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/routing/control_tower.go b/routing/control_tower.go index 9cd63a952..812af4e52 100644 --- a/routing/control_tower.go +++ b/routing/control_tower.go @@ -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 }