8000 [Bug]: CancelTx removes only one of two logs from self-spend tx · Issue #79 · mimblewimble/grin-gui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: CancelTx removes only one of two logs from self-spend tx #79
Open
@phyro

Description

@phyro

name: Bug report
about: CancelTx removes only one of two logs from self-spend tx

Describe the bug
When we hit Cancel on gui to cancel a transaction, we delete a single log entry when even if the transaction created multiple entries.

NOTE: I tried this with Legacy flow, not contracts.

To Reproduce
Steps to reproduce the behavior:

  1. Make a self-spend tx and notice two new TxLog entries (Send and Receive entry)
  2. Click on Receive entry to expand it
  3. Click Cancel
  4. Observe that this one disappears while the Send is still there

Expected behavior
Ideally, we'd delete both entries. At first I thought that deleting all txlogs that contain the transaction's kernel would be a good idea, but then I remembered that NRD kernels have different transactions with the same kernel which might delete too much if we had these.

Screenshots
/

Desktop (please complete the following information):

  • OS: Linux (Debian)

Additional context
This is might be more of a grin-wallet issue, but since we're reporting gui issues, it's here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0