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:
Boris Nagaev 2026-04-13 01:17:30 -05:00
parent 58ebb042ff
commit 8ea9adbd35
No known key found for this signature in database
6 changed files with 33 additions and 4 deletions

View file

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