Removes random energy P2P behaviour (#2986)
Energy P2P now try to evenly distribute over all outputs (to a certain limit) Fixes some NPE regarding the caches. Closes #2969
This commit is contained in:
@@ -67,4 +67,10 @@ public class TunnelCollection<T extends PartP2PTunnel> implements Iterable<T>
|
||||
{
|
||||
return this.clz;
|
||||
}
|
||||
|
||||
public int size()
|
||||
{
|
||||
return this.tunnelSources == null ? 0 : this.tunnelSources.size();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user