diff --git a/packages/api-derive/src/bounties/bounties.ts b/packages/api-derive/src/bounties/bounties.ts index f7696c4d1a..ae2f6d1920 100644 --- a/packages/api-derive/src/bounties/bounties.ts +++ b/packages/api-derive/src/bounties/bounties.ts @@ -32,7 +32,7 @@ export function bounties (instanceId: string, api: ApiInterfaceRx): () => Observ return memo(instanceId, (): Observable => bountyBase.bountyCount().pipe( - switchMap(() => api.query.treasury.bounties.keys()), + switchMap(() => bountyBase.bounties.keys()), switchMap((keys): Observable => { const ids = keys.map(({ args: [id] }) => id);