Skip to content

Commit 46cef06

Browse files
committed
Adjust waitForActiveChannel retries
1 parent 2356c07 commit 46cef06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helpers/lnd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export async function waitForActiveChannel(
6969
}) => PromiseLike<{ channels: any }> | { channels: any };
7070
},
7171
nodeId: string,
72-
maxRetries = 20
72+
maxRetries = 200
7373
) {
7474
let retries = 0;
7575

7676
while (retries < maxRetries) {
77-
await sleep(1000);
77+
await sleep(100);
7878
const { channels } = await lnd.listChannels({
7979
peer: Buffer.from(nodeId, 'hex'),
8080
activeOnly: true,

0 commit comments

Comments
 (0)