mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 14:40:40 +01:00
ForwardingService: Get rid of unused forwardCoins() method argument.
This commit is contained in:
parent
14673e6907
commit
f0bbb92bcf
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ public class ForwardingService {
|
|||
@Override
|
||||
public void onSuccess(TransactionConfidence result) {
|
||||
System.out.println("Confirmation received.");
|
||||
forwardCoins(tx);
|
||||
forwardCoins();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -128,7 +128,7 @@ public class ForwardingService {
|
|||
} catch (InterruptedException ignored) {}
|
||||
}
|
||||
|
||||
private static void forwardCoins(Transaction tx) {
|
||||
private static void forwardCoins() {
|
||||
try {
|
||||
// Now send the coins onwards.
|
||||
SendRequest sendRequest = SendRequest.emptyWallet(forwardingAddress);
|
||||
|
|
Loading…
Add table
Reference in a new issue