mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
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) => {
|
||||
if (nodeConfig.node == 0) {
|
||||
pingNodeStatusSocket()
|
||||
} else if (nodeConfig.node == 1) {
|
||||
if (nodeConfig.node >= 0) {
|
||||
pingNodeStatusSocket()
|
||||
} else if (nodeStatusSocketObject !== undefined) {
|
||||
nodeStatusSocketObject.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user