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

[2.6][T4] query params are ignored in wallets/{id}/locks cache #3239

Closed
dated opened this issue Nov 10, 2019 · 2 comments
Closed

[2.6][T4] query params are ignored in wallets/{id}/locks cache #3239

dated opened this issue Nov 10, 2019 · 2 comments

Comments

@dated
Copy link
Contributor

dated commented Nov 10, 2019

The cache of the wallets/{id}/wallets endpoint is built without regard of the query params. This results in unexpected results returned from the API.

For instance visit http://NODE_IP:4003/api/wallets/03dcb84917cf6d7b742f58c04693c5e00c56a4ae83feec129b3e3cc27111796232/locks followed by http://NODE_IP:4003/api/wallets/03dcb84917cf6d7b742f58c04693c5e00c56a4ae83feec129b3e3cc27111796232/locks?isExpired=true

The data returned is the same. Visit the second url after the cache has expired to get the intended results.

@ghost
Copy link

ghost commented Nov 10, 2019

Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@faustbrian faustbrian changed the title query params are ignored in wallets/{id}/locks cache [2.6][T4] query params are ignored in wallets/{id}/locks cache Nov 11, 2019
@ghost
Copy link

ghost commented Nov 11, 2019

This issue has been closed. If you wish to re-open it please provide additional information.

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