From 79274dfada887d852eeeac1477562227fd2ca588 Mon Sep 17 00:00:00 2001 From: bruwbird Date: Fri, 8 Nov 2024 14:29:05 +0900 Subject: [PATCH] lwk: increase default context timeout increase default context timeout from 5 seconds to 20 seconds. --- lwk/lwkwallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwk/lwkwallet.go b/lwk/lwkwallet.go index 7d9b4493..dc26ca84 100644 --- a/lwk/lwkwallet.go +++ b/lwk/lwkwallet.go @@ -28,7 +28,7 @@ const ( // TODO: Basically, the inherited ctx should be used // and there is no need to specify a timeout here. // Set up here because ctx is not inherited throughout the current codebase. - defaultContextTimeout = time.Second * 5 + defaultContextTimeout = time.Second * 20 minimumFee SatPerVByte = 0.1 supportedCLIVersion = "0.5.1" )