Comparing version 1.0.21 to 1.0.22
@@ -508,4 +508,6 @@ var CryptoJS = require('crypto-js') | ||
votingPower: (account) => { | ||
return new GrowInt(account.vt, {growth:account.balance/(vtGrowth)}) | ||
.grow(new Date().getTime()).v | ||
return new GrowInt(account.vt, { | ||
growth:account.balance/(vtGrowth), | ||
max: account.maxVt | ||
}).grow(new Date().getTime()).v | ||
}, | ||
@@ -512,0 +514,0 @@ bandwidth: (account) => { |
{ | ||
"name": "javalon", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "javascript api for the avalon blockchain", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
320953
6
594