invoices: add processAMP
This commit is contained in:
4 files changed
+127
-14
No files matched your search
@@ -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