loopout: use the request defined payment timeout

This commit is contained in:
Andras Banki-Horvath 2024-05-10 16:56:41 +02:00
parent 4749c029bb
commit 0d0af5bf24
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
3 changed files with 53 additions and 9 deletions

View file

@ -92,6 +92,12 @@ type OutRequest struct {
// initiated the swap (loop CLI, autolooper, LiT UI and so on) and is
// appended to the user agent string.
Initiator string
// PaymentTimeout specifies the payment timeout for the individual
// off-chain payments. As the swap payment may be retried (depending on
// the configured maximum payment timeout) the total time spent may be
// a multiple of this value.
PaymentTimeout time.Duration
}
// Out contains the full details of a loop out request. This includes things