From a613308bdb9c07a5b068dce5273e79a0672cf6b1 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 17 Mar 2020 19:34:51 +0100 Subject: [PATCH] Update --- packages/api-derive/src/staking/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-derive/src/staking/query.ts b/packages/api-derive/src/staking/query.ts index 34e87d2fc7..b307947308 100644 --- a/packages/api-derive/src/staking/query.ts +++ b/packages/api-derive/src/staking/query.ts @@ -13,7 +13,7 @@ import { Option, Vec } from '@polkadot/types'; import { memo } from '../util'; -type MultiResult = [Option, Option> | Option, RewardDestination, ITuple<[ValidatorPrefs]>, Option, Exposure]; +type MultiResult = [Option, Option | Nominations>, RewardDestination, ITuple<[ValidatorPrefs]>, Option, Exposure]; function unwrapSessionIds (stashId: AccountId, queuedKeys: [AccountId, Keys][], nextKeys: Option): { nextSessionIds: AccountId[]; sessionIds: AccountId[] } { const sessionIds = (queuedKeys.find(([currentId]): boolean =>