From be3f9c8fe8a2c946c8e9bfe1e7f8b2097ba91ee7 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 21 Jan 2020 14:45:07 +0100 Subject: [PATCH] Remove outdated derive + combineLatest comment (#1733) As per https://github.com/polkadot-js/api/pull/1732/files#r368599021 --- packages/api-derive/src/elections/info.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/api-derive/src/elections/info.ts b/packages/api-derive/src/elections/info.ts index 45c9ac665c..f72368a716 100644 --- a/packages/api-derive/src/elections/info.ts +++ b/packages/api-derive/src/elections/info.ts @@ -16,8 +16,6 @@ import { memo } from '../util'; function queryElections (api: ApiInterfaceRx): Observable { 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, Vec>, Vec>]>([ api.query[section].candidates, api.query[section].members,