Update Weights.js
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user