mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: map custom channel reason
Static autoloop testing surfaced a SuggestSwaps failure when the planner disqualified a custom asset channel. Add the missing AutoReason enum value and handle ReasonCustomChannelData.
This commit is contained in:
parent
58ebb042ff
commit
8ea9adbd35
6 changed files with 33 additions and 4 deletions
|
|
@ -128,6 +128,9 @@ func (r Reason) String() string {
|
|||
case ReasonLoopInUnreachable:
|
||||
return "loop in unreachable"
|
||||
|
||||
case ReasonCustomChannelData:
|
||||
return "custom channel data"
|
||||
|
||||
case ReasonStaticLoopInNoCandidate:
|
||||
return "no static loop-in candidate"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue