mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-27 00:35:27 -04:00
drop --mainnet param from monerod startup config
This commit is contained in:
parent
feed48ffc2
commit
60eda287e1
1 changed files with 3 additions and 3 deletions
|
@ -570,7 +570,6 @@ test("Can manage Monero daemon connections (CI)", async () => {
|
||||||
// start monerod2
|
// start monerod2
|
||||||
const cmd = [
|
const cmd = [
|
||||||
TestConfig.moneroBinsDir + "/monerod",
|
TestConfig.moneroBinsDir + "/monerod",
|
||||||
"--" + monerojs.MoneroNetworkType.toString(TestConfig.networkType).toLowerCase(),
|
|
||||||
"--no-igd",
|
"--no-igd",
|
||||||
"--hide-my-port",
|
"--hide-my-port",
|
||||||
"--data-dir", TestConfig.moneroBinsDir + "/" + TestConfig.baseCurrencyNetwork.toLowerCase() + "/testnode",
|
"--data-dir", TestConfig.moneroBinsDir + "/" + TestConfig.baseCurrencyNetwork.toLowerCase() + "/testnode",
|
||||||
|
@ -578,6 +577,7 @@ test("Can manage Monero daemon connections (CI)", async () => {
|
||||||
"--rpc-bind-port", TestConfig.monerod2.rpcBindPort,
|
"--rpc-bind-port", TestConfig.monerod2.rpcBindPort,
|
||||||
"--no-zmq"
|
"--no-zmq"
|
||||||
];
|
];
|
||||||
|
if (getBaseCurrencyNetwork() !== BaseCurrencyNetwork.XMR_MAINNET) cmd.push("--" + monerojs.MoneroNetworkType.toString(TestConfig.networkType).toLowerCase());
|
||||||
if (TestConfig.monerod2.username) cmd.push("--rpc-login", TestConfig.monerod2.username + ":" + TestConfig.monerod2.password);
|
if (TestConfig.monerod2.username) cmd.push("--rpc-login", TestConfig.monerod2.username + ":" + TestConfig.monerod2.password);
|
||||||
monerod2 = await monerojs.connectToDaemonRpc(cmd);
|
monerod2 = await monerojs.connectToDaemonRpc(cmd);
|
||||||
|
|
||||||
|
@ -1487,8 +1487,8 @@ test("Can go offline while resolving disputes (CI)", async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// stop and delete traders
|
// stop and delete traders
|
||||||
await releaseHavenoProcess(ctx.maker!, true);
|
if (ctx.maker) await releaseHavenoProcess(ctx.maker!, true);
|
||||||
deleteHavenoInstanceByAppName(ctx.sellerAppName!); // seller is offline
|
if (ctx.sellerAppName) deleteHavenoInstanceByAppName(ctx.sellerAppName!); // seller is offline
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue