rise-node icon indicating copy to clipboard operation
rise-node copied to clipboard

API GET Delegates gives Invalid rank and rate

Open 1indian opened this issue 6 years ago • 1 comments

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?

1indian avatar Feb 14 '19 09:02 1indian

Thanks, It'll be fixed in rise v2.

vekexasia avatar Feb 14 '19 10:02 vekexasia