]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/recipient/upper/class_UpperRecipient.php
Opps, wrong constant name
[hub.git] / application / hub / main / recipient / upper / class_UpperRecipient.php
index 4e4fea9606c9d5e1fe7de43bd9ec29afb7a1de9e..7d95c9094d1092b7b9abd012e809eaed06b54b99 100644 (file)
@@ -57,7 +57,7 @@ class UpperRecipient extends BaseRecipient implements Recipient {
        public function resolveRecipient ($recipient, Listable $listInstance) {
                // Make sure the recipient is valid
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('UPPER-RECIPIENT: recipient=' . $recipient);
-               assert($recipient == NetworkPackage::PACKAGE_RECIPIENT_UPPER);
+               assert($recipient == NetworkPackage::NETWORK_TARGET_UPPER);
 
                // Get all bootstrap nodes
                foreach (explode(BaseHubSystem::BOOTSTRAP_NODES_SEPARATOR, $this->getConfigInstance()->getConfigEntry('hub_bootstrap_nodes')) as $ipPort) {