multi: add label to WalletController SendOutputs and dependent rpcs

Add a label parameter to the WalletController SendOutputs endpoint and
update rpcs that use it to allow optional provision of labels.
This commit is contained in:
carla committed 2020-05-19 13:31:51 +02:00
1 parent 75370ce6b4
commit 099161ed0b
10 files changed
+773 -692

No files matched your search

+1
View File
@@ -311,6 +311,7 @@ func (w *WalletKit) SendOutputs(ctx context.Context,
// attempt to create this transaction.
tx, err := w.cfg.Wallet.SendOutputs(
outputsToCreate, chainfee.SatPerKWeight(req.SatPerKw),
labels.External,
)
if err != nil {
return nil, err