Concordium / concordium-reference-wallet-ios

Reference wallet for the Concordium blockchain
Apache License 2.0
11 stars 10 forks source link

Total currently at disposal should not include amount from read-only account #191

Closed mh-concordium closed 2 years ago

mh-concordium commented 2 years ago

Bug Description Read-only account amount "At disposal" adds to the "Total currently at disposal". This is wrong, user cannot use that read-only funds. It should still be a part of "Grand total amount" but not "At disposal" amount.

Steps to Reproduce

  1. Come to a state with read-only account (export Concordium backup file, create additional account, request 2000 CCDs, reinstall application and import exported file)
  2. Observe grand total of all accounts and total currently at disposal.

Expected Result Read-only "at disposal" amount should not be added to the " total currently at disposal". Read only "total" amount should be added to "Grand total of all accounts".

Actual Result Read-only "at disposal" amount is added to the " total currently at disposal". Read only "total" amount is added to "Grand total of all accounts".

Image:

atDisposalPlusReadme

Versions

mh-concordium commented 2 years ago

Verified.

Versions