Skip to content

Commit

Permalink
Alternative ogmios query option
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Sep 24, 2021
1 parent b69796b commit e2de5fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/services/accountState.ts
Expand Up @@ -139,8 +139,7 @@ const getAccountStateFromDB = async (pool: Pool, addresses: string[]): Promise<D
};

const askAccountRewards = async (pool: Pool, addresses: string[]): Promise<Dictionary<RewardInfo|null>> => {
const ogmiosPromise = getRewardStateFromOgmios(addresses)
.catch(e => ({ err: String(e) }));
const ogmiosPromise = {};
const ogmiosPromise2 = getRewardStateFromOgmios2(addresses)
.catch(e => ({ err: String(e) }));
const dbPromise = getAccountStateFromDB(pool, addresses);
Expand Down

0 comments on commit e2de5fb

Please sign in to comment.