AvailX / avail-wallet

An open source, private, self-custodial wallet. Built on the Aleo network.
https://avail.global
Apache License 2.0
20 stars 7 forks source link

[Bug]: Failed Avail event doesn't update to confirmed if found #40

Closed Zack-Xb closed 7 months ago

Zack-Xb commented 8 months ago

Contact Details

None

contact

No response

What happened?

If an unconfirmed transaction pointer has been pending for more than 10 minutes it will turn into a failed transaction pointer and records spent will be unspent, this check at the start of scans.

Scenario: If the user left the app with a pending transaction and then comes back after at least >(10 - {amount of time already pending}) minutes then the transaction pointer will be rendered failed at the start of the next scan and when the transaction is found it currently does not update the current pointer but creates a new externally executed transaction as shown in the attached image below.

Note: Since we have checks on records stored this does not cause double counting it just causes the same transaction to be shown twice.

Screenshot 2024-02-27 at 13 32 42

Version

v0.0.1-alpha

What operating system are you using?

None

Relevant log output

No response

Code of Conduct