loopdb: add the local pubkey's keylocator to the persisted contract

This commit is contained in:
Andras Banki-Horvath 2022-04-24 22:32:17 +02:00
parent ce3026daa9
commit a252e2c706
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
6 changed files with 153 additions and 0 deletions

View file

@ -240,6 +240,7 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
InitiationTime: initiationTime,
ReceiverKey: swapResp.receiverKey,
SenderKey: senderKey,
ClientKeyLocator: keyDesc.KeyLocator,
Preimage: swapPreimage,
AmountRequested: request.Amount,
CltvExpiry: swapResp.expiry,