mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopout: use the request defined payment timeout
This commit is contained in:
parent
4749c029bb
commit
0d0af5bf24
3 changed files with 53 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue