From 1220a86202b559efcb841985025d7349336fd53b Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 15 Dec 2021 12:41:00 -0500 Subject: [PATCH] update name to HavenoHeadlessAppMain --- src/HavenoDaemon.test.ts | 4 ++-- src/HavenoDaemon.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HavenoDaemon.test.ts b/src/HavenoDaemon.test.ts index 017666e8..44d723c5 100644 --- a/src/HavenoDaemon.test.ts +++ b/src/HavenoDaemon.test.ts @@ -311,10 +311,10 @@ test("Handles unexpected errors during trade initialization", async () => { try { // start and fund 3 trader processes - let tradeAmount: bigint = BigInt("250000000000"); console.log("Starting trader processes"); traders = await startTraderProcesses(3, LOG_PROCESS_OUTPUT); - await traders[0].getBalances(); + console.log("Funding traders"); + let tradeAmount: bigint = BigInt("250000000000"); await waitForUnlockedBalance(tradeAmount * BigInt("2"), traders[0], traders[1], traders[2]); // trader 0 posts offer diff --git a/src/HavenoDaemon.ts b/src/HavenoDaemon.ts index 890edfaa..97a26c7e 100644 --- a/src/HavenoDaemon.ts +++ b/src/HavenoDaemon.ts @@ -75,7 +75,7 @@ class HavenoDaemon { output += line + '\n'; // capture output in case of error // read success message - if (line.indexOf("BisqHeadlessAppMain: onSetupComplete") >= 0) { // TODO (woodser): rename class + if (line.indexOf("HavenoHeadlessAppMain: onSetupComplete") >= 0) { // get api password let passwordIdx = cmd.indexOf("--apiPassword");