Client: Finance: random amounts appear in deposit if no account is connected

Created on 16 Jul 2019  路  3Comments  路  Source: aragon/client

Describe the bug
When the user's Ethereum account is not enabled, if they go to the Deposit tab in the Finance app, and enter random tokens (BAT, ZRX, MKR, for example) then it will say the user has some tokens in their account _even though no account is enabled_.

Mainnet or testnet?
Mainnet

Organization
any

To Reproduce
Steps to reproduce the behavior:

  1. Go to Finance app with no account enabled
  2. Click on New Transfer > Deposit
  3. Select "Other token" in drop down
  4. Enter a token symbol or address, see it say you have a random amount of tokens in your account.. even though you don't have an account enabled

Expected behavior
The app should indicate that there is no account found since no account is enabled. And it shouldn't show an incorrect number of tokens in the account even if it is enabled.

Screenshots
Capture_20190714

bug finance frontend

Most helpful comment

@AquiGorka Yes, this is definitely what I was seeing before. Haven't a chance to look into it yet, but good to keep this up as a tracking issue :).

All 3 comments

@sohkai maybe this is related to the issue you saw before, and from what John describes it has to do with the account not being enabled.

@AquiGorka Yes, this is definitely what I was seeing before. Haven't a chance to look into it yet, but good to keep this up as a tracking issue :).

Most likely this is due to the finance app (or somewhere implicit in aragonAPI) using 0x00...00 as the user's address if they haven't enabled their account.

Was this page helpful?
0 / 5 - 0 ratings