multi: make the next protocol version optional

This commit is contained in:
Andras Banki-Horvath 2022-05-14 17:47:15 +02:00
parent 9b37d744a0
commit 00cf4bf71c
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
7 changed files with 74 additions and 26 deletions

View file

@ -177,7 +177,7 @@ func newLoopOutSwap(globalCtx context.Context, cfg *swapConfig,
MaxMinerFee: request.MaxMinerFee,
MaxSwapFee: request.MaxSwapFee,
Label: request.Label,
ProtocolVersion: loopdb.CurrentInternalProtocolVersion,
ProtocolVersion: loopdb.CurrentProtocolVersion(),
},
OutgoingChanSet: chanSet,
}