bridge.get_account_posts returns wrong reputation data
While using latest release of a hivemind instance (haf based) there are wrong values for user reputation.
Found for example on a @hivebuzz
account, which shows -5
instead of 74
.
I've isolated problematic call:
{"id":1,"jsonrpc":"2.0","method":"bridge.get_account_posts","params":{"sort":"blog","account":"hivebuzz","observer":"gandalf"}}
testing:
curl -s --data '{"id":1,"jsonrpc":"2.0","method":"bridge.get_account_posts","params":{"sort":"blog","account":"hivebuzz","observer":"gandalf"}}' $STAGING_URL | jq .result[].author_reputation
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
76.91
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
-4.55
Same request to api.hive.blog (running non-haf hivemind) returns:
74.29
74.29
74.29
74.29
74.29
74.29
74.29
77.29
74.29
74.29
74.29
74.29
74.29
74.29
74.29
74.29
74.29
74.29
74.29
74.29
(note that 77.29
is a zirochka
's reputation which is also wrong, i.e. higher than on old instance)