mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
build: bump lnd to v0.21
Update lnd to v0.21.0-beta and lndclient to v0.21.0-1. Regenerate the LND-derived swagger and CLI manpage outputs after the dependency bump.
This commit is contained in:
parent
af6af819cf
commit
cfe9e401c4
8 changed files with 181 additions and 190 deletions
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/lightninglabs/loop/looprpc"
|
||||
lndcommands "github.com/lightningnetwork/lnd/cmd/commands"
|
||||
"github.com/lightningnetwork/lnd"
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
"github.com/urfave/cli/v3"
|
||||
)
|
||||
|
|
@ -271,7 +271,7 @@ func openChannel(ctx context.Context, cmd *cli.Command) error {
|
|||
if cmd.IsSet("utxo") {
|
||||
utxos := cmd.StringSlice("utxo")
|
||||
|
||||
outpoints, err := lndcommands.UtxosToOutpoints(utxos)
|
||||
outpoints, err := lnd.UtxosToOutpoints(utxos)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to decode utxos: %w", err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/lightninglabs/loop/staticaddr/deposit"
|
||||
"github.com/lightninglabs/loop/staticaddr/loopin"
|
||||
"github.com/lightninglabs/loop/swapserverrpc"
|
||||
lndcommands "github.com/lightningnetwork/lnd/cmd/commands"
|
||||
"github.com/lightningnetwork/lnd"
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
"github.com/lightningnetwork/lnd/routing/route"
|
||||
"github.com/urfave/cli/v3"
|
||||
|
|
@ -192,7 +192,7 @@ func withdraw(ctx context.Context, cmd *cli.Command) error {
|
|||
case isAllSelected:
|
||||
case isUtxoSelected:
|
||||
utxos := cmd.StringSlice("utxo")
|
||||
outpoints, err = lndcommands.UtxosToOutpoints(utxos)
|
||||
outpoints, err = lnd.UtxosToOutpoints(utxos)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue