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

cancel_tx bug #2577

Closed
julycanfly opened this issue Feb 14, 2019 · 2 comments
Closed

cancel_tx bug #2577

julycanfly opened this issue Feb 14, 2019 · 2 comments

Comments

@julycanfly
Copy link

Describe the bug
I normally created a transaction, and when I wanted to cancel it, I made the following mistake:
Transaction ce8b8c9d-225b-4269-8978-b2d211f45675 doesn't exist

To Reproduce
Steps to reproduce the behavior:
1.
curl -u grin:xxxxxxxx -X POST http://127.0.0.1:3420/v1/wallet/owner/issue_send_tx --data '{"amount":1192000000,"minimum_confirmations":0,"method":"http","dest":"http://xxxxxx","max_outputs":5,"num_change_outputs":1,"selection_strategy_is_use_all":true,"fluff":false}'
return ce8b8c9d-225b-4269-8978-b2d211f45675
2.
curl -u grin:xxxxxx -X POST http://127.0.0.1:3420/v1/wallet/owner/cancel_tx?tx_id=ce8b8c9d-225b-4269-8978-b2d211f45675
return Transaction ce8b8c9d-225b-4269-8978-b2d211f45675 doesn't exist

Who can answer it?

@garyyu
Copy link
Contributor

garyyu commented Feb 15, 2019

Are you sure it indeed returned ce8b8c9d-225b-4269-8978-b2d211f45675 in your 1st step?

On my terminal, the --data 'xxx' doesn't work, I need use --data "xxx".

btw, the "fluff":false doesn't exist for this API. fluff only works for post_tx and repost APIs.

@julycanfly
Copy link
Author

你确定它确实ce8b8c9d-225b-4269-8978-b2d211f45675在你的第一步回来了吗?

在我的终端上,--data 'xxx'不起作用,我需要使用--data "xxx"

顺便说一下"fluff":false,这个API不存在。fluff仅适用于post_txrepostAPI。

thanks

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

No branches or pull requests

2 participants