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

View File

@@ -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.