This commit is contained in:
Manfred Karrer 2018-10-16 11:57:50 -05:00
parent 1fadef15ef
commit 254059b411
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -88,7 +88,7 @@ public class ArbitratorSelection {
}
static String getLeastUsedArbitrator(List<String> lastAddressesUsedInTrades, Set<String> arbitrators) {
checkArgument(!arbitrators.isEmpty(), "arbitrators must nto be empty");
checkArgument(!arbitrators.isEmpty(), "arbitrators must not be empty");
List<Tuple2<String, AtomicInteger>> arbitratorTuples = arbitrators.stream()
.map(e -> new Tuple2<>(e, new AtomicInteger(0)))
.collect(Collectors.toList());