mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 04:21:37 +02:00
multi: expand SendOutputs
and CreateSimpleTx
to take utxos
This commit updates the interface methods from `lnwallet.WalletController` to take optional input set which can be used to create the tx.
This commit is contained in:
committed by
yyforyongyu
parent
468ca87499
commit
99339f706f
@@ -811,8 +811,8 @@ func (w *WalletKit) SendOutputs(ctx context.Context,
|
||||
// requirement, we can request that the wallet attempts to create this
|
||||
// transaction.
|
||||
tx, err := w.cfg.Wallet.SendOutputs(
|
||||
outputsToCreate, chainfee.SatPerKWeight(req.SatPerKw), minConfs,
|
||||
label, coinSelectionStrategy,
|
||||
nil, outputsToCreate, chainfee.SatPerKWeight(req.SatPerKw),
|
||||
minConfs, label, coinSelectionStrategy,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user