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

Cannot cancel by tx_id two times #27

Closed
quentinlesceller opened this issue Mar 26, 2019 · 2 comments
Closed

Cannot cancel by tx_id two times #27

quentinlesceller opened this issue Mar 26, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@quentinlesceller
Copy link
Member

Based on mimblewimble/grin#2514 by @Onefox.

Describe the bug
If I receive a tx with ID 32222222-3222-4222-a222-322222222222 for example. Than I cancel that via http://127.0.0.1:13420/v1/wallet/owner/cancel_tx?tx_id=32222222-3222-4222-a222-322222222222

Now I receive another tx with that ID.
I can't cancel the new one. When calling
http://127.0.0.1:13420/v1/wallet/owner/cancel_tx?tx_id=32222222-3222-4222-a222-322222222222
I am getting
Transaction 32222222-3222-4222-a222-322222222222 doesn't exist

Steps to reproduce the behavior:

  1. Receive grin with ID 32222222-3222-4222-a222-322222222222
  2. Cancel that receive via http://127.0.0.1:13420/v1/wallet/owner/cancel_tx?tx_id=32222222-3222-4222-a222-322222222222
  3. Receive the same tx again (for example with the listen api)
  4. Try to Cancel that ID again...
  5. See error Transaction 32222222-3222-4222-a222-322222222222 doesn't exist

Here is my txs wallet output:
image

master tag V1.0.0

@yeastplume
Copy link
Member

This is from 1.0.x, is this still an issue on the split 1.1.0?

@yeastplume
Copy link
Member

Please reopen if still an issue in 2.0.0

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

2 participants