Remove outdated derive + combineLatest comment (#1733)

As per https://github.com/polkadot-js/api/pull/1732/files#r368599021
This commit is contained in:
Jaco Greeff
2020-01-21 14:45:07 +01:00
committed by GitHub
parent e850955e55
commit be3f9c8fe8
@@ -16,8 +16,6 @@ import { memo } from '../util';
function queryElections (api: ApiInterfaceRx): Observable<DerivedElectionsInfo> {
const section = api.query.electionsPhragmen ? 'electionsPhragmen' : 'elections';
// NOTE We have an issue where candidates can return `null` for an empty array, hence
// we are not using multi queries here, so empty array is empty (instead of space-filled)
return api.queryMulti<[Vec<AccountId>, Vec<ITuple<[AccountId, Balance]>>, Vec<ITuple<[AccountId, Balance]>>]>([
api.query[section].candidates,
api.query[section].members,