Only use Prod nodes

js-waku maintains compatibility with latest nim-waku release, deployed
in the prod fleet.

js-waku may not be compatible with nim-waku master branch if backward
compatible changes were introduced.
This commit is contained in:
Franck Royer 2021-07-02 15:28:26 +10:00
parent 354dcd66a5
commit 707979bf4c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 6 deletions

View File

@ -102,12 +102,7 @@ async function initWaku(): Promise<Waku> {
}
function getNodes() {
// Works with react-scripts
if (process?.env?.NODE_ENV === 'development') {
return getStatusFleetNodes(Environment.Test);
} else {
return getStatusFleetNodes(Environment.Prod);
}
return getStatusFleetNodes(Environment.Prod);
}
function handlePublicKeyMessage(