Skip to content

API GET Delegates gives Invalid rank and rate #196

@1indian

Description

@1indian

Actual

curl --silent https://wallet.rise.vision/api/delegates/get\?publicKey\=7f31f1b13f211ada60b61e47778b8d59e7f0ecb56fd6f9ea9200c805e352f6a8 | jq .
{
  "success": true,
  "delegate": {
    "username": "indian",
    "address": "3361547442450966682R",
    "cmb": 0,
    "publicKey": "7f31f1b13f211ada60b61e47778b8d59e7f0ecb56fd6f9ea9200c805e352f6a8",
    "vote": 8877869856391,
    "producedblocks": 69,
    "votesWeight": 8877869856391,
    "missedblocks": 1,
    "rank": 146,
    "approval": 0.07,
    "productivity": 98.57,
    "rate": 146
  }
}

Expected

Currently delegate indian is at position 132, however the API responds with rank and rate 146

Comments

I hope this doesn't have an impact on forging slots?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions