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-06-12 16:45:45 +12:00
committed by Ian He
parent abc11890f7
commit be617df21f
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),