loop: add initiator string to user agent

This commit is contained in:
Oliver Gugger 2020-11-06 10:43:03 +01:00
parent e6e533aeda
commit 2a732a4385
No known key found for this signature in database
GPG key ID: 8E4256593F177720
8 changed files with 43 additions and 21 deletions

View file

@ -166,7 +166,7 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
log.Infof("Initiating swap request at height %v", currentHeight)
swapResp, err := cfg.server.NewLoopInSwap(globalCtx, swapHash,
request.Amount, senderKey, swapInvoice, probeInvoice,
request.LastHop,
request.LastHop, request.Initiator,
)
probeWaitCancel()
if err != nil {