Minor improvements

This commit is contained in:
netkas 2025-02-07 22:39:48 -05:00
parent 7c8e0ddf86
commit 9e18db3e68
2 changed files with 1 additions and 2 deletions

View file

@ -65,7 +65,6 @@
}
$contact = ContactManager::getContact($peer, $address);
if(ContactManager::contactGetSigningKeysCount($contact) > Configuration::getPoliciesConfiguration()->getMaxContactSigningKeys())
{
return $rpcRequest->produceError(StandardError::FORBIDDEN, 'The contact has exceeded the maximum amount of trusted signatures');

View file

@ -34,7 +34,7 @@
}
catch(InvalidArgumentException $e)
{
throw new InvalidRpcArgumentException('peer');
throw new InvalidRpcArgumentException('peer', $e);
}
if(!$rpcRequest->containsParameter('relationship'))