Undo changes to PendingTransactions method visibility (#1281)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
mbaxter 6 years ago committed by GitHub
parent 61d5734062
commit 9fb04b44b7
  1. 8
      ethereum/eth/src/main/java/tech/pegasys/pantheon/ethereum/eth/transactions/PendingTransactions.java

@ -112,7 +112,7 @@ public class PendingTransactions {
return addTransaction;
}
public boolean addLocalTransaction(final Transaction transaction) {
boolean addLocalTransaction(final Transaction transaction) {
final boolean addTransaction =
addTransaction(new TransactionInfo(transaction, true, clock.instant()));
localTransactionAddedCounter.inc();
@ -124,7 +124,7 @@ public class PendingTransactions {
notifyTransactionDropped(transaction);
}
public void transactionAddedToBlock(final Transaction transaction) {
void transactionAddedToBlock(final Transaction transaction) {
doRemoveTransaction(transaction, true);
}
@ -267,11 +267,11 @@ public class PendingTransactions {
}
}
public void addTransactionListener(final PendingTransactionListener listener) {
void addTransactionListener(final PendingTransactionListener listener) {
listeners.subscribe(listener);
}
public void addTransactionDroppedListener(final PendingTransactionDroppedListener listener) {
void addTransactionDroppedListener(final PendingTransactionDroppedListener listener) {
transactionDroppedListeners.subscribe(listener);
}

Loading…
Cancel
Save