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
REST-API: Performing a deposit with total_deposit less than current total_deposit returns 200 response #2630
Comments
The reason is this: Lines 399 to 401 in 49832df
|
ok then, this is no bug and the return code 200 is what we expect? Then I close this again |
From my understanding we should return 409 CONFLICT in this case |
Yes, this is definitely a bug IMO. Esp. since we catch the Lines 1046 to 1050 in 49832df
which describes exactly the case you're testing: Lines 52 to 58 in b20360a
|
ok nice, I found my first bug then |
Raiden node returns 200 SUCCESS when setting
total_deposit
to something smaller than currenttotal_deposit
(withdrawing)This test runs successfully with a Raiden node.
Therefore, it is possible to set
total_deposit
to 1 token (the Raiden Node returns code 200) without changing the status oftotal_deposit
.I used my own token with 18 decimals.
The text was updated successfully, but these errors were encountered: