Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Reference in a new issue