bug fix in chain resolver.
This commit is contained in:
parent
3a9691dc6f
commit
c39ef5f4ee
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ public class ChainResolver {
|
|||
}
|
||||
|
||||
// remove chains if there is a node that cannot act as intermediate.
|
||||
foundChains = foundChains.stream().filter(chain -> chain.stream().anyMatch(n -> !n.getIntermediate())).toList();
|
||||
foundChains = foundChains.stream().filter(chain -> chain.stream().allMatch(n -> n.getIntermediate())).toList();
|
||||
|
||||
|
||||
log.info("Found {} chains for node {}", foundChains.size(), nodeId);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue