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

Address cannot be added manually, total account balance is incorrect #1256

Open
MiMoHo opened this issue Apr 24, 2023 · 1 comment
Open

Address cannot be added manually, total account balance is incorrect #1256

MiMoHo opened this issue Apr 24, 2023 · 1 comment
Labels
kind/bug Something isn't working needs/triage Needs triage label os/mac

Comments

@MiMoHo
Copy link

MiMoHo commented Apr 24, 2023

Actual behavior:

The DeFiChain Desktop app neither lets me manually add the 42-character DeFiChain address that the mobile app shows me for my seed phrase as it calls it "invalid address", nor I can add an automatically generated and deleted 34-character standard DeFiChain address manually as the app responds with "invalid address, check if the address belongs to you". When I let the app generate an address automatically, the same 34-character standard address comes up that I put in manually before. When I send DFI from my legacy address to that standard address, it is deducted from my account balance, but not credited back as apparently, the app doesn't show the total balance of all receiving addresses.

Expected behavior:

The app should let me add all addresses that can be generated from the seed phrase I used earlier even after using a .dat backup file for restoring the wallet. It should also show all (DFI) balances that I have on the receiving addresses and differentiate which address to use for sending transactions and using the DEX.

How to reproduce it (as minimally and precisely as possible):

  1. Create a wallet in the mobile app, save the seed
  2. Use the seed to restore the wallet in the fully synced desktop app
  3. Generate a legacy address and send 3 DFI to that address
  4. Quit the desktop app and make a backup by creating a .dat file
  5. Restore the wallet from the .dat backup file
  6. Generate a standard address automatically which will be 34 characters long
  7. Send 1 DFI from legacy address to the standard receiving address
  8. Restart the wallet and it will only show the legacy address, not the standard address. If it does, delete it and add it again manually. The app will return it is invalid. The same happens when trying to add the 42-character receiving address the mobile app shows for the initially generated seed
  9. Generate a standard address automatically and perhaps it will generate the same 34-character standard address that it didn't let you add manually before
  10. The total balance of 3 DFI will still not be reflected in the account balance field although you hold DFI on each of your two receiving addresses. It only shows 2 DFI for the legacy address. And the standard address may be gone the next time you restart the desktop app.

What are your environment parameters?

  • DeFiCh/app Version: 3.2.9
  • DeFiCh/node Version 3.2.7
  • Operating System (OS): macOS 12
    – RAM (GB): 64GB
    – CPU (Intel Core i5/i7/etc.): Apple Silicon M1
  • Current free storage capacity: enough

Anything else we need to know?

Is this maybe related to DeFiCh/ain#1783 ?

Add new address, error

"Invalid address", but the same receiving address can be generated automatically:

Addresses

@MiMoHo MiMoHo added the kind/bug Something isn't working label Apr 24, 2023
@github-actions github-actions bot added os/mac needs/triage Needs triage label labels Apr 24, 2023
@github-actions
Copy link

@MiMoHo: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.
Details

I am a bot created to help the BirthdayResearch developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working needs/triage Needs triage label os/mac
Projects
None yet
Development

No branches or pull requests

1 participant