mirror of https://github.com/waku-org/js-waku.git
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:
parent
354dcd66a5
commit
707979bf4c
|
@ -102,12 +102,7 @@ async function initWaku(): Promise<Waku> {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNodes() {
|
function getNodes() {
|
||||||
// Works with react-scripts
|
return getStatusFleetNodes(Environment.Prod);
|
||||||
if (process?.env?.NODE_ENV === 'development') {
|
|
||||||
return getStatusFleetNodes(Environment.Test);
|
|
||||||
} else {
|
|
||||||
return getStatusFleetNodes(Environment.Prod);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function handlePublicKeyMessage(
|
function handlePublicKeyMessage(
|
||||||
|
|
Loading…
Reference in New Issue