multi: rename to FailureReasonPaymentDetails
Prior name is too long XD
This commit is contained in:
4 files changed
+7
-7
No files matched your search
@@ -142,7 +142,7 @@ func createFailedResult(rt *route.Route,
|
||||
|
||||
// In case of incorrect payment details, set the route. This can be used
|
||||
// for probing and to extract a fee estimate from the route.
|
||||
if reason == channeldb.FailureReasonIncorrectPaymentDetails {
|
||||
if reason == channeldb.FailureReasonPaymentDetails {
|
||||
result.Route = rt
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
// Instantiate variables to allow taking a reference from the failure reason.
|
||||
var (
|
||||
reasonError = channeldb.FailureReasonError
|
||||
reasonIncorrectDetails = channeldb.FailureReasonIncorrectPaymentDetails
|
||||
reasonIncorrectDetails = channeldb.FailureReasonPaymentDetails
|
||||
)
|
||||
|
||||
// pairResult contains the result of the interpretation of a payment attempt for
|
||||
|
||||
Reference in new issue
Block a user