very low priority for me. Feel free to close this if it's just not important.
When submitting a swap request with outputs targeting an unknown keyset ID, nutmix returns error code 99999 instead of the NUT-00 standardized code 12001 ("Keyset is not known")
I found this testing the cashu spilman channel code, where I sometimes test it against nutmix instead of just against the cdk mint
Also, the response should include a detail, not just a code.
Observed: HTTP 400 {"code":99999}
Expected: HTTP 400 {"detail": "Keyset is not known", "code": 12001}
Version. I'm at commit 5ed997a5e36acff2c16d04f91d1598713d4e0d51, which I think it 0.4.2, even though VERSION says 0.4.0
very low priority for me. Feel free to close this if it's just not important.
When submitting a swap request with outputs targeting an unknown keyset ID, nutmix returns error code 99999 instead of the NUT-00 standardized code 12001 ("Keyset is not known")
I found this testing the cashu spilman channel code, where I sometimes test it against nutmix instead of just against the cdk mint
Also, the response should include a
detail, not just acode.Observed: HTTP 400 {"code":99999}
Expected: HTTP 400 {"detail": "Keyset is not known", "code": 12001}
Version. I'm at commit
5ed997a5e36acff2c16d04f91d1598713d4e0d51, which I think it 0.4.2, even though VERSION says 0.4.0