Skip to content

Commit

Permalink
extended logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Sep 24, 2021
1 parent 1f4f57b commit 6460ee1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/accountState.ts
Expand Up @@ -86,6 +86,7 @@ const getRewardStateFromOgmios = async (addresses: string[]): Promise<OgmiosRetu
}, {
handler: (response, resolve, reject) => {
const result = response.result;
console.log(`[getRewardStateFromOgmios][Query] Result: ${JSON.stringify(result)}`);
if (typeof result === "object" && result.eraMismatch == null) {
resolve(result as DelegationsAndRewardsByAccounts);
}
Expand Down

0 comments on commit 6460ee1

Please sign in to comment.