Skip to content

Commit

Permalink
#191: cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
eustimenko committed Sep 20, 2019
1 parent e460cfe commit da746bb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public BeaconStateEx apply(BeaconStateEx stateEx) {
}

@Test
public void testRejectBlocks_future() {
public void testRejectBlocks() {
ControlledSchedulers schedulers = Schedulers.createControlled();
long currentTime = schedulers.getCurrentTime();

Expand All @@ -142,10 +142,6 @@ public void testRejectBlocks_future() {

MutableBeaconChain beaconChain = createBeaconChain(spec, perSlotTransition, schedulers);
beaconChain.init();

BeaconTuple initialTuple = beaconChain.getRecentlyProcessed();
Assert.assertEquals(spec.getConstants().getGenesisSlot(), initialTuple.getBlock().getSlot());

BeaconTuple parent = beaconChain.getRecentlyProcessed();

// assert block.slot <= get_current_slot(store.time) + 1
Expand Down

0 comments on commit da746bb

Please sign in to comment.