Update Weights.js

This commit is contained in:
Luis Fernando Molina committed 2021-06-30 16:25:59 +02:00
1 parent 4f1dd4be36
commit 0ad6f69b9c
1 file changed
+1 -1
@@ -117,7 +117,7 @@ function newGovernanceFunctionLibraryWeights() {
node.payload.referenceParent !== undefined
)
) {
if (node.payload.votingProgram.votes !== undefined) {
if (node.payload.votingProgram !== undefined) {
if (node.payload.votingProgram.votes !== undefined) {
node.payload.weight = node.payload.votingProgram.votes / totalVotes
}