]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/dht/node/class_NodeDhtFacade.php
Opps, wrong name :(
[hub.git] / application / hub / main / dht / node / class_NodeDhtFacade.php
index 23e3abfe13596c28d52146fd1e08a15d93c9bd9a..c17cb46e094344fe91d6880a1fcb887ac24fc3cd 100644 (file)
@@ -68,13 +68,13 @@ class NodeDhtFacade extends BaseDht implements Distributable, Registerable {
                         * (e.g. DHT poisoning) it would be good to implement some checks if
                         * the both node owner trust each other (see sub-project 'DSHT').
                         */
-                       $this->getWrapperInstance()->updateNodeEntry($nodeData);
+                       $this->getWrapperInstance()->updateNodeEntry($dhtData);
                } else {
                        /*
                         * Inserts given node data into the DHT. As above, this step does
                         * currently not perform any security checks.
                         */
-                       $this->getWrapperInstance()->registerNodeByData($nodeData);
+                       $this->getWrapperInstance()->registerNodeByData($dhtData);
                }
        }