loopd: abandon loop-ins

This commit is contained in:
Slyghtning 2023-11-13 14:50:10 +01:00
parent 0fbf253391
commit 5e91c446b8
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
6 changed files with 161 additions and 3 deletions

View file

@ -11,6 +11,12 @@ const (
TypeOut
)
// IsOut returns true if the swap is a loop out swap, false if it is a loop in
// swap.
func (t Type) IsOut() bool {
return t == TypeOut
}
func (t Type) String() string {
switch t {
case TypeIn: