From 7774eda8b48080daff99c05d4643d3d8f20d9953 Mon Sep 17 00:00:00 2001 From: jonny rhea Date: Tue, 4 Jun 2019 15:27:49 -0500 Subject: [PATCH] cem doesn't know how to run spotlessApply --- .../java/tech/pegasys/artemis/statetransition/LmdGhost.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/artemis/statetransition/LmdGhost.java b/ethereum/statetransition/src/main/java/tech/pegasys/artemis/statetransition/LmdGhost.java index 25f82e0f47e..583cc8240cb 100644 --- a/ethereum/statetransition/src/main/java/tech/pegasys/artemis/statetransition/LmdGhost.java +++ b/ethereum/statetransition/src/main/java/tech/pegasys/artemis/statetransition/LmdGhost.java @@ -19,7 +19,6 @@ import static tech.pegasys.artemis.datastructures.util.BeaconStateUtil.slot_to_epoch; import com.google.common.primitives.UnsignedLong; -import java.nio.ByteOrder; import java.util.ArrayList; import java.util.Comparator; import java.util.List; @@ -85,9 +84,7 @@ public static BeaconBlock lmd_ghost( child -> get_vote_count(start_state, store, child, attestation_targets).compareTo(max) == 0) - .max( - Comparator.comparing( - child -> child.hash_tree_root().toHexString())) + .max(Comparator.comparing(child -> child.hash_tree_root().toHexString())) .get(); } }