mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-03 08:41:33 +02:00
invoices: add processAMP
This commit is contained in:
@@ -105,6 +105,9 @@ const (
|
||||
// ResultMppInProgress is returned when we are busy receiving a mpp
|
||||
// payment.
|
||||
ResultMppInProgress
|
||||
|
||||
// ResultAmpError is returned when we receive invalid AMP parameters.
|
||||
ResultAmpError
|
||||
)
|
||||
|
||||
// String returns a string representation of the result.
|
||||
@@ -162,6 +165,9 @@ func (f FailResolutionResult) FailureString() string {
|
||||
case ResultMppInProgress:
|
||||
return "mpp reception in progress"
|
||||
|
||||
case ResultAmpError:
|
||||
return "invalid amp parameters"
|
||||
|
||||
default:
|
||||
return "unknown failure resolution result"
|
||||
}
|
||||
|
Reference in New Issue
Block a user