final var address = account.getRecipientAddressResolver()
.resolveRecipientAddress(account.getRecipientResolver().resolveRecipient(serviceId));
- return Utils.computeSafetyNumber(capabilities.isUuid(),
+ return Utils.computeSafetyNumber(capabilities.getUuid(),
account.getSelfRecipientAddress(),
account.getAciIdentityKeyPair().getPublicKey(),
address.getServiceId().equals(serviceId)