Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit c3129f89d6 - Show all commits

View file

@ -40,7 +40,8 @@
{ {
if(!ContactManager::isContact($request->getPeer(), $address)) if(!ContactManager::isContact($request->getPeer(), $address))
{ {
return $rpcRequest->produceError(StandardError::NOT_FOUND, 'Contact does not exist'); // Return empty response if the contact does not exist
return $rpcRequest->produceResponse();
} }
$rpcRequest->produceResponse(ContactManager::getStandardContact($request->getPeer(), $address)); $rpcRequest->produceResponse(ContactManager::getStandardContact($request->getPeer(), $address));