From b1daf77db933743e8b4e39fd40ac32b891eb9553 Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Tue, 4 Jun 2024 15:55:15 +0530 Subject: [PATCH] fix: change withdraw address to regtest --- .github/workflows/tests.yml | 2 +- clients/apps/nodejs/test_basic_workflow2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index abda5d87..a75be86a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: docker-compose -f docker-compose-test.yml up --build -d - name: Wait for services to be ready run: | - sleep 90 # Adjust time as necessary for services to initialize + sleep 60 # Adjust time as necessary for services to initialize - name: Verify Mercury Service with Curl run: | container_id=$(docker ps -qf "name=mercurylayer_mercury_1") diff --git a/clients/apps/nodejs/test_basic_workflow2.js b/clients/apps/nodejs/test_basic_workflow2.js index 8333f416..2d3daa69 100644 --- a/clients/apps/nodejs/test_basic_workflow2.js +++ b/clients/apps/nodejs/test_basic_workflow2.js @@ -100,7 +100,7 @@ async function walletTransfersToItselfAndWithdraw(clientConfig, wallet_name) { assert(received_statechain_ids[0] == coin.statechain_id); } - let withdraw_address = "tb1qwrujs6f4gyexsextpf9p50smjtht7p7ypknteu"; + let withdraw_address = "bcrt1qgh48u8aj4jvjkalc28lqujyx2wveck4jsm59x9"; let txid = await mercurynodejslib.withdrawCoin(clientConfig, wallet_name, coin.statechain_id, withdraw_address, null);