Skip to content

Commit

Permalink
Fix AbstractBlockChain comments
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarguindzberg authored and mikehearn committed Aug 27, 2015
1 parent eec6eeb commit c5727d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/org/bitcoinj/core/AbstractBlockChain.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,21 +216,21 @@ public final void addNewBestBlockListener(final NewBestBlockListener listener) {
}

/**
* Adds a generic {@link TransactionReceivedInBlockListener} listener to the chain.
* Adds a generic {@link NewBestBlockListener} listener to the chain.
*/
public final void addNewBestBlockListener(Executor executor, final NewBestBlockListener listener) {
newBestBlockListeners.add(new ListenerRegistration<NewBestBlockListener>(executor, listener));
}

/**
* Adds a generic {@link NewBestBlockListener} listener to the chain.
* Adds a generic {@link ReorganizeListener} listener to the chain.
*/
public final void addReorganizeListener(final ReorganizeListener listener) {
addReorganizeListener(Threading.USER_THREAD, listener);
}

/**
* Adds a generic {@link TransactionReceivedInBlockListener} listener to the chain.
* Adds a generic {@link ReorganizeListener} listener to the chain.
*/
public final void addReorganizeListener(Executor executor, final ReorganizeListener listener) {
reorganizeListeners.add(new ListenerRegistration<ReorganizeListener>(executor, listener));
Expand Down

0 comments on commit c5727d1

Please sign in to comment.