Skip to content

Blocks list query - sort by height compares a string, not a number (9999 near the 99989) #61

@muknta

Description

@muknta

Introduced by #51

curl http://3.123.154.245:11000/api/blocks?limit=1&offset=11&sort=desc

returns "... "height": "99989", "

curl http://3.123.154.245:11000/api/blocks?limit=1&offset=10&sort=desc

returns "... "height":"9999", "

curl http://3.123.154.245:11000/api/blocks?limit=1&offset=9&sort=desc

returns "... "height":"99990", "

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions