swap_server_client: let the SwapPublicationDeadline be set during LoopOuts

This commit is contained in:
Johan T. Halseth 2019-11-14 10:35:32 +01:00
parent 2d1e41de5d
commit c70d0deecb
No known key found for this signature in database
GPG key ID: 15BAADA29DA20D26
4 changed files with 32 additions and 17 deletions

View file

@ -53,7 +53,7 @@ func newServerMock() *serverMock {
func (s *serverMock) NewLoopOutSwap(ctx context.Context,
swapHash lntypes.Hash, amount btcutil.Amount,
receiverKey [33]byte) (
receiverKey [33]byte, _ time.Time) (
*newLoopOutResponse, error) {
_, senderKey := test.CreateKey(100)