Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Transaction status shows success when it is revoked by chain reorganization #7

Open
anony2020mous opened this issue Jan 9, 2021 · 0 comments

Comments

@anony2020mous
Copy link

Bug Report

Description

When submitting farmer details, the scenario that the transaction is revoked due to chain reorganization is not considered.
When the transaction is executed but then revoked, status of the transaction still shows success while the transaction is still is transaction pool.

Reproduce Steps

  1. send transaction to submit farmer details
  2. When the transaction is executed, UI shows transaction succeeds
  3. Let blockchain reorganize by importing a side chain
  4. The transaction is revoked and returns to transaction pool.
  5. The transaction still shows success in UI.

Expected Behaviour

If the transactions revoked by chain reorganization, it should reveal on UI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant