Commit 5c8f0d53 authored by Iain R. Learmonth's avatar Iain R. Learmonth
Browse files

Removes unnecessary cast

parent 13d53601
......@@ -628,7 +628,7 @@ public class NodeDetailsStatusUpdater implements DescriptorListener,
boolean isExit = nodeStatus.getRelayFlags().contains("Exit")
&& !nodeStatus.getRelayFlags().contains("BadExit");
boolean isGuard = nodeStatus.getRelayFlags().contains("Guard");
double consensusWeight = (double) nodeStatus.getConsensusWeight();
double consensusWeight = nodeStatus.getConsensusWeight();
consensusWeights.put(fingerprint, consensusWeight);
totalConsensusWeight += consensusWeight;
if (consensusContainsBandwidthWeights) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment