forked from Qortal/qortal-ui
Fix get status from external nodes
This commit is contained in:
parent
f167b11e51
commit
099f55e5bc
@ -105,9 +105,7 @@ const doNodeStatus = async (nodeStatusObject) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const initNodeStatusCall = (nodeConfig) => {
|
const initNodeStatusCall = (nodeConfig) => {
|
||||||
if (nodeConfig.node == 0) {
|
if (nodeConfig.node >= 0) {
|
||||||
pingNodeStatusSocket()
|
|
||||||
} else if (nodeConfig.node == 1) {
|
|
||||||
pingNodeStatusSocket()
|
pingNodeStatusSocket()
|
||||||
} else if (nodeStatusSocketObject !== undefined) {
|
} else if (nodeStatusSocketObject !== undefined) {
|
||||||
nodeStatusSocketObject.close()
|
nodeStatusSocketObject.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user