Made message signing in Cryptography use SHA512 as the message content for... #1
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@
|
||||||
{
|
{
|
||||||
return $rpcRequest->produceError(StandardError::NOT_FOUND, 'The requested encryption channel was not found');
|
return $rpcRequest->produceError(StandardError::NOT_FOUND, 'The requested encryption channel was not found');
|
||||||
}
|
}
|
||||||
elseif($encryptionChannel->getReceivingPeerAddress() !== $receivingPeer->getAddress())
|
elseif($encryptionChannel->getReceivingPeerAddress() !== $receivingPeer->getPeerAddress())
|
||||||
{
|
{
|
||||||
return $rpcRequest->produceError(StandardError::UNAUTHORIZED, 'The requested encryption channel is not accessible');
|
return $rpcRequest->produceError(StandardError::UNAUTHORIZED, 'The requested encryption channel is not accessible');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue