Governance Signing Account Test 8

This commit is contained in:
Luis Fernando Molina committed 2021-09-21 21:03:04 +02:00
1 parent 392322a432
commit 87514fed5f
1 file changed
+2 -3
+2 -3
View File
@@ -586,11 +586,10 @@ exports.newGithubServer = function newGithubServer() {
must have a signature of the same Github username of the User Profile.
*/
console.log('userProfile.signingAccounts ', userProfile.signingAccounts)
if (userProfile.signingAccounts === undefined) { return true }
for (let i = 0; i < userProfile.signingAccounts.length; i++) {
let signingAccount = userProfile.signingAccounts[i]
for (let i = 0; i < userProfile.signingAccounts.signingAccounts.length; i++) {
let signingAccount = userProfile.signingAccounts.signingAccounts[i]
let config = JSON.parse(signingAccount.config)
let messageSigned = config.signature.message
console.log(signingAccount.name, messageSigned, config.signature.message)