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

Roberto Saltini 6 years ago committed by GitHub
parent 00542949e0
commit ba18fcf163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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