Merge pull request #4460 from Roasbeef/failure-resolution-str

invoices: add String() method to failure resolution outcome
This commit is contained in:
Olaoluwa Osuntokun 2020-07-14 16:40:53 -07:00 committed by GitHub
commit 4dc9696b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,6 +107,11 @@ const (
ResultMppInProgress
)
// String returns a string representation of the result.
func (f FailResolutionResult) String() string {
return f.FailureString()
}
// FailureString returns a string representation of the result.
//
// Note: it is part of the FailureDetail interface.