Irys-xyz / arweave-js-sdk

JS SDK for Irys on Arweave
110 stars 95 forks source link

Getting balance is broken #4

Closed glitch003 closed 2 years ago

glitch003 commented 2 years ago

https://github.com/Bundlr-Network/js-client/blob/6446b30d734a32df9f508f4ab06f25b487189664/src/cli.ts#L34

This line removes the first character of my arweave address when retrieving balance. Why does it do this? It breaks the ability to get balance. Removing this line fixes balance retrieval.

You should probably remove this line, or at least detect the character you're trying to remove and only remove it if it's present.

JesseTheRobot commented 2 years ago

resolved by f63044aa9b0aff6615591231bc1bfc6fbb126c45