]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php
Better check against if the node has completed announcement
[hub.git] / application / hub / main / handler / message-types / answer / class_NodeMessageRequestNodeListAnswerHandler.php
index a5605a5571a5ad7c48e46bc124d061dfaf622041..704c2487f7ed7e837be1bc556acb51d56f3975ac 100644 (file)
@@ -83,7 +83,7 @@ class NodeMessageRequestNodeListAnswerHandler extends BaseMessageHandler impleme
                $nodeInstance = Registry::getRegistry()->getInstance('node');
 
                // Has this node attempted to announce itself?
-               if (!$nodeInstance->ifNodeHasAnnounced()) {
+               if (!$nodeInstance->ifNodeHasAnnouncementCompleted()) {
                        /*
                         * This node has never announced itself, so it doesn't expect
                         * request-node-list answer messages.