Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU-86a0dn0k3 - Ethereum Support Implementation #15

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Conversation

raulduartep
Copy link
Contributor

No description provided.

@melanke
Copy link
Contributor

melanke commented Aug 28, 2023

if (!result.data) throw new Error('Balance not found')

const balances = result.data.ethereum.address[0].balances.map(
(balance): BalanceResponse => ({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: see comment above about destructuring for slightly improved readability

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tbh I prefer the old way, but whatever, let's move on

@melanke melanke merged commit a88e120 into main Aug 30, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants