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

Incorrect transaction history displayed while wallet is partially recovered from seed #1444

Open
str4d opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@str4d
Copy link

str4d commented May 10, 2024

Describe the issue

Due to the order in which the scan queue is populated, during recover-from-seed the notes in the current incomplete subtree are scanned before any historical notes. If a transaction was sent in that recent period, the wallet shows it in transaction history as being a received transaction with the amount from the change output, but with the memo from the sent output.

After waiting for the wallet to progress further in sync, the transaction history changes to correctly show the transaction as "Sent", so the wallet information is eventually correct, but in the intervening time the user is presented with misleading information.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Have unspent notes in a wallet that are not within the current incomplete subtree.
  2. Spend those notes to send funds outside the wallet with some associated memo, creating a change note.
  3. Open a new Zashi and recover the wallet from its mnemonic phrase.
  4. Wait for the sent transaction to be detected.

Expected behavior

The transaction shows up as "Sent -recipientAmount", with the outgoing memo.

Actual behavior + errors

The transaction shows up as "Received +changeAmount", but with the outgoing memo, making it look like the memo was sent by someone else to the wallet.

  • App Version: 1.0 (650)
  • Android Version: 14
@str4d str4d added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant