Skip to content

Commit

Permalink
Merge pull request #4549 from oscarguindzberg/fixlog
Browse files Browse the repository at this point in the history
Fix logging message
  • Loading branch information
sqrrm authored Sep 23, 2020
2 parents e3b3c62 + c1c9ff3 commit 9ca3c8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/bisq/core/btc/wallet/WalletService.java
Original file line number Diff line number Diff line change
Expand Up @@ -507,17 +507,17 @@ public void emptyBtcWallet(String toAddress,
sendRequest.feePerKb = getTxFeeForWithdrawalPerByte().multiply(1000);
sendRequest.aesKey = aesKey;
Wallet.SendResult sendResult = wallet.sendCoins(sendRequest);
printTx("empty wallet", sendResult.tx);
printTx("empty btc wallet", sendResult.tx);
Futures.addCallback(sendResult.broadcastComplete, new FutureCallback<Transaction>() {
@Override
public void onSuccess(Transaction result) {
log.info("emptyWallet onSuccess Transaction=" + result);
log.info("emptyBtcWallet onSuccess Transaction=" + result);
resultHandler.handleResult();
}

@Override
public void onFailure(@NotNull Throwable t) {
log.error("emptyWallet onFailure " + t.toString());
log.error("emptyBtcWallet onFailure " + t.toString());
errorMessageHandler.handleErrorMessage(t.getMessage());
}
}, MoreExecutors.directExecutor());
Expand Down

0 comments on commit 9ca3c8b

Please sign in to comment.