mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Remove onEmptyBlockAdded
Was not used anywhere
This commit is contained in:
parent
5804ff3cf0
commit
41795ad122
2 changed files with 0 additions and 5 deletions
|
@ -24,10 +24,6 @@ public interface DaoStateListener {
|
||||||
|
|
||||||
void onParseBlockChainComplete();
|
void onParseBlockChainComplete();
|
||||||
|
|
||||||
// Never used but we still want to provide the event
|
|
||||||
default void onEmptyBlockAdded(Block block) {
|
|
||||||
}
|
|
||||||
|
|
||||||
default void onParseTxsCompleteAfterBatchProcessing(Block block) {
|
default void onParseTxsCompleteAfterBatchProcessing(Block block) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,6 @@ public class DaoStateService implements DaoSetupService {
|
||||||
"That might happen in edge cases at reorgs.");
|
"That might happen in edge cases at reorgs.");
|
||||||
} else {
|
} else {
|
||||||
daoState.getBlocks().add(block);
|
daoState.getBlocks().add(block);
|
||||||
daoStateListeners.forEach(l -> l.onEmptyBlockAdded(block));
|
|
||||||
|
|
||||||
log.info("New Block added at blockHeight " + block.getHeight());
|
log.info("New Block added at blockHeight " + block.getHeight());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue