diff --git a/src/Controller/AppController.php b/src/Controller/AppController.php
index 3c0dda80f..d0eeb7d7a 100644
--- a/src/Controller/AppController.php
+++ b/src/Controller/AppController.php
@@ -220,7 +220,7 @@ class AppController extends Controller
// we haven't get a pubkey? something seems to gone wrong on the login-server
$this->Flash->error(__('no pubkey'));
//var_dump($json);
- return $this->redirect(Router::url('/', true) . 'account/error500', 303);
+ return $this->redirect(Router::url('/', true) . 'account/error500/noPubkey', 303);
}
} else {
if($json['state'] === 'not found' ) {
diff --git a/src/Model/Transactions/Transaction.php b/src/Model/Transactions/Transaction.php
index 7be390c85..cb7c4bee7 100644
--- a/src/Model/Transactions/Transaction.php
+++ b/src/Model/Transactions/Transaction.php
@@ -97,7 +97,7 @@ class Transaction extends TransactionBase {
//echo 'sig Pair: '; var_dump($sigPair); echo "
";
$pubkey = $sigPair->getPubKey();
$signature = $sigPair->getEd25519();
- echo "verify bodybytes:
" . bin2hex($bodyBytes) . '
';
+ //echo "verify bodybytes:
" . bin2hex($bodyBytes) . '
';
if (!\Sodium\crypto_sign_verify_detached($signature, $bodyBytes, $pubkey)) {
$this->addError('Transaction::validate', 'signature for key ' . bin2hex($pubkey) . ' isn\'t valid ' );
return false;