Fix sign error in Seed node snapshot diffs

This commit is contained in:
Florian Reimair 2019-03-05 18:07:53 +01:00
parent 004634ed23
commit 35914b8682
No known key found for this signature in database
GPG Key ID: 7EA8CA324B6E5633

View File

@ -237,7 +237,7 @@ public class P2PSeedNodeSnapshot extends Metric implements MessageListener {
statistics.values().forEach((messageType, count) -> {
try {
report.put(OnionParser.prettyPrint(host) + ".relativeNumberOfMessages." + messageType,
String.valueOf(referenceValues.get(messageType).value() - ((Counter) count).value()));
String.valueOf(((Counter) count).value() - referenceValues.get(messageType).value()));
} catch (MalformedURLException ignore) {
log.error("we should never got here");
}