Fix incorrect method call for retrieving peer address in EncryptionDeclineChannel
This commit is contained in:
parent
3a5bf57ec1
commit
90324072b1
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@
|
|||
{
|
||||
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');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue