diff --git a/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/IbftEvents.java b/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/IbftEvents.java index dc6cf9a50c..d009bd748f 100644 --- a/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/IbftEvents.java +++ b/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/IbftEvents.java @@ -22,7 +22,7 @@ public class IbftEvents { public enum Type { ROUND_EXPIRY, - NEW_CHAIN_HEAD_HEADER, + NEW_CHAIN_HEAD, BLOCK_TIMER_EXPIRY } } diff --git a/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/ibftevent/NewChainHead.java b/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/ibftevent/NewChainHead.java index 484b7cda90..0221cb7bb0 100644 --- a/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/ibftevent/NewChainHead.java +++ b/consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/ibftevent/NewChainHead.java @@ -35,7 +35,7 @@ public final class NewChainHead implements IbftEvent { @Override public Type getType() { - return Type.NEW_CHAIN_HEAD_HEADER; + return Type.NEW_CHAIN_HEAD; } @Override