From ba18fcf1635cc10fba57563eecc441481176032d Mon Sep 17 00:00:00 2001 From: Roberto Saltini <38655434+saltiniroberto@users.noreply.github.com> Date: Wed, 24 Oct 2018 13:46:44 +1100 Subject: [PATCH] Renamed the iBFT NEW_CHAIN_HEAD_HEADER event type to NEW_CHAIN_HEAD (#114) --- .../java/tech/pegasys/pantheon/consensus/ibft/IbftEvents.java | 2 +- .../pegasys/pantheon/consensus/ibft/ibftevent/NewChainHead.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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