]> git.mxchange.org Git - hub.git/commitdiff
Log full array.
authorRoland Haeder <roland@mxchange.org>
Sun, 24 May 2015 22:31:05 +0000 (00:31 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 24 May 2015 22:31:05 +0000 (00:31 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/package/class_NetworkPackage.php
core

index 804fb695e4ed8160f49121d0e9ae811eaeaab167..de863f1213c7a1a4fdf56664ee62850b521f5be6 100644 (file)
@@ -681,7 +681,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
         */
        private function isPackageHashValid (array $decodedArray) {
                // Check validity
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __METHOD__ . ':' . __LINE__ . ']: senderId=' . $decodedArray[self::PACKAGE_CONTENT_SENDER] . ',message()=' . strlen($decodedArray[self::PACKAGE_CONTENT_MESSAGE]));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('NETWORK-PACKAGE[' . __METHOD__ . ':' . __LINE__ . ']: senderId=' . $decodedArray[self::PACKAGE_CONTENT_SENDER] . ',decodedArray=' . print_r($decodedArray, TRUE));
                //* DEBUG-DIE: */ die(__METHOD__ . ': decodedArray=' . print_r($decodedArray, TRUE));
                $isHashValid = Scrypt::checkScrypt($decodedArray[self::PACKAGE_CONTENT_SENDER] . ':' . $decodedArray[self::PACKAGE_CONTENT_MESSAGE] . ':' . $this->determineSenderPrivateKeyHash($decodedArray), $decodedArray[self::PACKAGE_CONTENT_HASH]);
 
diff --git a/core b/core
index 90c5b8005aff620af19c89e0fba2ad1a9198683a..cdc1f3a9b3eefa6ca1b719c069e14c5ee2f9876a 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 90c5b8005aff620af19c89e0fba2ad1a9198683a
+Subproject commit cdc1f3a9b3eefa6ca1b719c069e14c5ee2f9876a