mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 14:50:40 +01:00
Merge pull request #4460 from Roasbeef/failure-resolution-str
invoices: add String() method to failure resolution outcome
This commit is contained in:
commit
4dc9696b5b
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue