Skip to content

Commit

Permalink
Merge pull request #314 from rsksmart/refactor/federation_watcher_tests
Browse files Browse the repository at this point in the history
Refactor Federation Watcher Tests
  • Loading branch information
marcos-iov authored and apancorb committed Nov 15, 2024
2 parents 29083b2 + 9a1e59e commit 9fd1a08
Show file tree
Hide file tree
Showing 2 changed files with 273 additions and 285 deletions.
2 changes: 1 addition & 1 deletion src/main/java/co/rsk/federate/FederationWatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void addListener(Listener listener) {
listeners.add(listener);
}

private class FederationWatcherRskListener extends EthereumListenerAdapter {
class FederationWatcherRskListener extends EthereumListenerAdapter {
@Override
public void onBestBlock(org.ethereum.core.Block block, List<TransactionReceipt> receipts) {
// Updating state only when the best block changes still "works",
Expand Down
Loading

0 comments on commit 9fd1a08

Please sign in to comment.