Renamed the iBFT NEW_CHAIN_HEAD_HEADER event type to NEW_CHAIN_HEAD (#114)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Roberto Saltini 6 years ago committed by GitHub
parent 25f1d39891
commit acc8122bb9
  1. 2
      consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/IbftEvents.java
  2. 2
      consensus/ibft/src/main/java/tech/pegasys/pantheon/consensus/ibft/ibftevent/NewChainHead.java

@ -22,7 +22,7 @@ public class IbftEvents {
public enum Type {
ROUND_EXPIRY,
NEW_CHAIN_HEAD_HEADER,
NEW_CHAIN_HEAD,
BLOCK_TIMER_EXPIRY
}
}

@ -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

Loading…
Cancel
Save