cmd: make types.go accessible in lnd package
This commit is contained in:
5 files changed
+40
-31
No files matched your search
@@ -16,6 +16,7 @@ import (
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||
"github.com/btcsuite/btcd/wire"
|
||||
"github.com/lightningnetwork/lnd"
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/chanfunding"
|
||||
"github.com/urfave/cli"
|
||||
@@ -406,7 +407,7 @@ func openChannel(ctx *cli.Context) error {
|
||||
if ctx.IsSet("utxo") {
|
||||
utxos := ctx.StringSlice("utxo")
|
||||
|
||||
outpoints, err := UtxosToOutpoints(utxos)
|
||||
outpoints, err := lnd.UtxosToOutpoints(utxos)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to decode utxos: %w", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user