From d28af17b53aeb87ed2528ceb1019b05d1f6e32a6 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 25 May 2015 00:31:05 +0200 Subject: [PATCH] Log full array. Signed-off-by: Roland Haeder --- application/hub/main/package/class_NetworkPackage.php | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index 804fb695e..de863f121 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -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 90c5b8005..cdc1f3a9b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 90c5b8005aff620af19c89e0fba2ad1a9198683a +Subproject commit cdc1f3a9b3eefa6ca1b719c069e14c5ee2f9876a -- 2.39.5