Voting is only free balance (#2444)

This commit is contained in:
Jaco Greeff
2020-07-20 20:03:26 +02:00
committed by GitHub
parent 97d0bcbfd4
commit c7e6e40030
+1 -1
View File
@@ -23,7 +23,7 @@ function calcBalances (api: ApiInterfaceRx, [accountId, [freeBalance, reservedBa
frozenFee,
frozenMisc,
reservedBalance,
votingBalance: api.registry.createType('Balance', freeBalance.add(reservedBalance))
votingBalance: api.registry.createType('Balance', freeBalance.toBn())
};
}