mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 14:17:56 +01:00
btcwallet: fix duplicate import
The `wallet` has already imported using `base`.
This commit is contained in:
@@ -19,7 +19,6 @@ import (
|
|||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcwallet/chain"
|
"github.com/btcsuite/btcwallet/chain"
|
||||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||||
"github.com/btcsuite/btcwallet/wallet"
|
|
||||||
base "github.com/btcsuite/btcwallet/wallet"
|
base "github.com/btcsuite/btcwallet/wallet"
|
||||||
"github.com/btcsuite/btcwallet/wallet/txauthor"
|
"github.com/btcsuite/btcwallet/wallet/txauthor"
|
||||||
"github.com/btcsuite/btcwallet/wallet/txrules"
|
"github.com/btcsuite/btcwallet/wallet/txrules"
|
||||||
@@ -981,11 +980,11 @@ func (b *BtcWallet) CreateSimpleTx(inputs fn.Set[wire.OutPoint],
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add the optional inputs to the transaction.
|
// Add the optional inputs to the transaction.
|
||||||
optFunc := wallet.WithCustomSelectUtxos(inputs.ToSlice())
|
optFunc := base.WithCustomSelectUtxos(inputs.ToSlice())
|
||||||
|
|
||||||
return b.wallet.CreateSimpleTx(
|
return b.wallet.CreateSimpleTx(
|
||||||
nil, defaultAccount, outputs, minConfs, feeSatPerKB,
|
nil, defaultAccount, outputs, minConfs, feeSatPerKB,
|
||||||
strategy, dryRun, []wallet.TxCreateOption{optFunc}...,
|
strategy, dryRun, []base.TxCreateOption{optFunc}...,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user