mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-30 21:51:31 +00:00
Fix get status from external nodes
This commit is contained in:
@@ -105,9 +105,7 @@ const doNodeStatus = async (nodeStatusObject) => {
|
||||
}
|
||||
|
||||
const initNodeStatusCall = (nodeConfig) => {
|
||||
if (nodeConfig.node == 0) {
|
||||
pingNodeStatusSocket()
|
||||
} else if (nodeConfig.node == 1) {
|
||||
if (nodeConfig.node >= 0) {
|
||||
pingNodeStatusSocket()
|
||||
} else if (nodeStatusSocketObject !== undefined) {
|
||||
nodeStatusSocketObject.close()
|
||||
|
Reference in New Issue
Block a user