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:
1 parent
468ca87499
commit
99339f706f
8 files changed
+66
-38
No files matched your search
@@ -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