OmniLayer / omniwallet

Omni Protocol Hybrid Web-Wallet
https://www.omniwallet.org
GNU Affero General Public License v3.0
327 stars 187 forks source link

API '/v2/address/addr/' always returns error: "This endpoint accepts at most 20 addresses." #1714

Closed triamazikamno closed 5 years ago

triamazikamno commented 5 years ago

API endpoint /v2/address/addr/ used to work well until recently, now it always returns error "This endpoint accepts at most 20 addresses." Error occurs even for the example request from the doc https://api.omniwallet.org/#request-v2-address-addr

# curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "addr=1FoWyxwPXuj4C6abqwhjDWdz6D4PZgYRjA&addr=1KYiKJEfdJtap9QX2v9BXJMpz2SfU4pgZw" "https://api.omniwallet.org/v2/address/addr/"
{
  "error": "This endpoint accepts at most 20 addresses."
}
achamely commented 5 years ago

@triamazikamno the issue is fixed and the endpoint is working as documented again