routing/control_tower: fix PaymentResult godocs
This commit is contained in:
parent
fbd599a2cb
commit
9e019407fb
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user