mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopd: abandon loop-ins
This commit is contained in:
parent
0fbf253391
commit
5e91c446b8
6 changed files with 161 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue