itest+lntest: add a dedicated timeout for sending payments

This commit adds a new timeout `PaymentTimeout` that's used when sending
payments. A potential bug is also marked in the test.
This commit is contained in:
yyforyongyu committed 2023-02-23 21:56:11 +08:00
1 parent ae6e109f35
commit d5af76cb29
7 files changed
+27 -7

No files matched your search

-4
View File
@@ -27,10 +27,6 @@ const (
// noFeeLimitMsat is used to specify we will put no requirements on fee
// charged when choosing a route path.
noFeeLimitMsat = math.MaxInt64
// defaultPaymentTimeout specifies the default timeout in seconds when
// sending a payment.
defaultPaymentTimeout = 60
)
// CopyFile copies the file src to dest.