Update utils.js
This commit is contained in:
parent
5cfadfd7ac
commit
fd4b98ccfd
@ -26,7 +26,7 @@ async function getRegistrationCountryFromIp(ipAddress) {
|
||||
function signProfileData(dataBase64) {
|
||||
const serverKeys = certificatesManager.getKeys()
|
||||
try {
|
||||
const privateKey = serverKeys.playerCertificateKeys.private
|
||||
const privateKey = serverKeys.profilePropertyKeys.private
|
||||
const signer = crypto.createSign("SHA1")
|
||||
signer.update(dataBase64)
|
||||
signer.end()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user