Fix error causing balances.all = undefined (#891)

* Updated with derive.balances.all

* add new keys to votingBalance

* remove multi test

* vestedBalance > 0

* bestNumber bug

* Check balances.all > 0

* Check balances.all > 0

* Check balances.all > 0
This commit is contained in:
kwingram25
2019-05-09 17:20:30 +02:00
committed by Jaco Greeff
parent 8d9f7a4d46
commit b8fabfeade
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export function all (api: ApiInterface$Rx) {
(accountId
? combineLatest([
of(accountId),
api.query.chain.bestNumber(),
api.derive.chain.bestNumber(),
api.query.balances.freeBalance(accountId),
api.query.balances.reservedBalance(accountId),
api.query.balances.locks(accountId),