Exclude testnet from relays, generate random relayIdx (#33)

This commit is contained in:
folex 2022-04-06 11:48:41 +04:00 committed by GitHub
parent f2d182c597
commit 82c9198fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,9 +29,11 @@ import { askAllAndSend, getAll } from './_aqua/app';
const defaultNetworkName = 'testNet + krasnodar';
const relays = [...krasnodar, ...stage];
const defaultEnv = {
relays: [...testNet, ...krasnodar, ...stage],
relayIdx: 10,
relays,
relayIdx: Math.floor(Math.random() * relays.length),
logLevel: 'error',
};