get_follow_count 和hivemind 八字不合啊,明早的切换是否会如期进行?

in #witness-category6 years ago

@steemitdev之前的帖子Upcoming Changes to api.steemit.com曾提到最快要在2018-12-07 23:00:00 UTC(北京时间明早7:00)将api.steemit.com的一些调用重定向给hivemind,我曾经特意发个帖子介绍这事:关于api.steemit.com 即将到来的变化


(图源 :pixabay)

今天就是12月7日啦,虽然还没到23:00:00 UTC,于是我想着测试一下,看看这些调用都好用,因为涉及到的API也不少,所以我就随便测试一下,比如说试试:get_follow_count

于是我给api.steemitdev.com发送了如下JSON内容

{"jsonrpc": "2.0", "method": "condenser_api.get_follow_count", "params": ["oflyhigh"], "id": 1}

结果返回内容如下:

什么,我的Followers少了数千人,另外我Following -5个人,是什么鬼概念?

我向api.steemit.com重新发送上述JSON内容,返回的结果是正确的。

哎,出师不利,测试的第一个最简单的调用就返回完全错误的结果,不想再试下去了。

你问我这个API不正确有啥后果呀?其实也没啥大后果,就是网页上显示的followers和following人数不正确罢了。

正确的结果应该是这样:

错误的结果是这样:

另外,如果你程序中有根据followers和following人数做一些判断等机制,那么判断的结果就没啥意义了。

2018-12-07 23:00:00 UTC换成北京时间是明早七点,@steemitdev帖子中提到的切换是否会如期进行?我倒是期望他们切换之前好好测试一下,毕竟晚点无所谓,出问题就不好玩了。


Vote For Me As Witness
https://steemit.com/~witnesses type in oflyhigh and click VOTE

Vote @oflyhigh via Steemconnect
Thank you!

Sort:  

Thank you so much for participating the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.00% upvote! Together, let’s change the world!

Oh, that’s why there’s a glitch with the followers. I was shocked seeing why my followers dropped that many 🤣

Posted using Partiko iOS

When I first saw the numbers I initially had hoped that it was a fix in the code to remove all the "dead followers", which could have been a step closer to removing dead witness voters too.

But soon my hopes were crushed and it was what it was.

:(