mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-20 13:27:50 +02:00
loop+cmd: extract types into swap module
This commit is contained in:
parent
7a1680d7d6
commit
69f2af9fdc
13 changed files with 104 additions and 89 deletions
|
|
@ -6,6 +6,7 @@ import (
|
|||
|
||||
"github.com/lightninglabs/loop"
|
||||
"github.com/lightninglabs/loop/looprpc"
|
||||
"github.com/lightninglabs/loop/swap"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
|
|
@ -93,7 +94,8 @@ func loopOut(ctx *cli.Context) error {
|
|||
|
||||
limits := getLimits(amt, quote)
|
||||
|
||||
if err := displayLimits(loop.TypeOut, amt, limits, false); err != nil {
|
||||
err = displayLimits(swap.TypeOut, amt, limits, false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue