Remove onEmptyBlockAdded

Was not used anywhere
This commit is contained in:
Manfred Karrer 2019-01-29 14:59:49 +01:00
parent 5804ff3cf0
commit 41795ad122
No known key found for this signature in database
GPG key ID: 401250966A6B2C46
2 changed files with 0 additions and 5 deletions

View file

@ -24,10 +24,6 @@ public interface DaoStateListener {
void onParseBlockChainComplete();
// Never used but we still want to provide the event
default void onEmptyBlockAdded(Block block) {
}
default void onParseTxsCompleteAfterBatchProcessing(Block block) {
}

View file

@ -200,7 +200,6 @@ public class DaoStateService implements DaoSetupService {
"That might happen in edge cases at reorgs.");
} else {
daoState.getBlocks().add(block);
daoStateListeners.forEach(l -> l.onEmptyBlockAdded(block));
log.info("New Block added at blockHeight " + block.getHeight());
}