stellard
stellard copied to clipboard
Passing limit: -1 to an account_tx rpc call produces an "internal error" response
Example output:
> curl -X POST https://live.stellar.org:9002 -d '
quote> {
quote> "method": "account_tx",
quote> "params": [
quote> {
quote> "account": "gEisv5HcJTbp6D1vxUdh5dPUrDGyuUxM4u",
quote> "limit": -1
quote> }
quote> ]
quote> }'
{
"result" : {
"error" : "internal",
"error_code" : 62,
"error_message" : "Internal error.",
"request" : {
"account" : "gEisv5HcJTbp6D1vxUdh5dPUrDGyuUxM4u",
"command" : "account_tx",
"limit" : -1
},
"status" : "error"
}
}
I would expect stellard to return a more descriptive error.