kin-labs / kinetic

MIT License
40 stars 24 forks source link

fix: make sure getBalance works with empty accounts #576

Closed beeman closed 1 year ago

beeman commented 1 year ago

This patches fixes an issue introduced in #567 leading to an error 500 when checking getBalance on an empty account.

nx-cloud[bot] commented 1 year ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3fcc407e0ac393d02bdcaa72ed9e385b532a4733. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 6 targets - [`nx affected --target=build --parallel --max-parallel=3`](https://cloud.nx.app/runs/Kspd8fVbTi) - [`nx affected --target=lint --parallel --max-parallel=3`](https://cloud.nx.app/runs/9GP4HKPPlL) - [`nx affected --target=test --parallel --max-parallel=3`](https://cloud.nx.app/runs/rx6tJB96hp) - [`nx e2e api-e2e --skip-nx-cache`](https://cloud.nx.app/runs/wEa2jDqnH5) - [`nx e2e sdk-e2e --skip-nx-cache`](https://cloud.nx.app/runs/mQFTPPwjc4) - [`nx e2e web-e2e --skip-nx-cache`](https://cloud.nx.app/runs/XFO3VvuEjt)

Sent with 💌 from NxCloud.