mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Rename WalletService.emptyWallet() to emtyBtcWallet()
This commit is contained in:
parent
2ff9192372
commit
8a3d403bfc
2 changed files with 5 additions and 5 deletions
|
@ -499,10 +499,10 @@ public abstract class WalletService {
|
|||
// Empty complete Wallet
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public void emptyWallet(String toAddress,
|
||||
KeyParameter aesKey,
|
||||
ResultHandler resultHandler,
|
||||
ErrorMessageHandler errorMessageHandler)
|
||||
public void emptyBtcWallet(String toAddress,
|
||||
KeyParameter aesKey,
|
||||
ResultHandler resultHandler,
|
||||
ErrorMessageHandler errorMessageHandler)
|
||||
throws InsufficientMoneyException, AddressFormatException {
|
||||
SendRequest sendRequest = SendRequest.emptyWallet(LegacyAddress.fromBase58(params, toAddress));
|
||||
sendRequest.fee = Coin.ZERO;
|
||||
|
|
|
@ -160,7 +160,7 @@ public final class BtcEmptyWalletWindow extends Overlay<BtcEmptyWalletWindow> {
|
|||
emptyWalletButton.setDisable(true);
|
||||
openOfferManager.removeAllOpenOffers(() -> {
|
||||
try {
|
||||
btcWalletService.emptyWallet(addressInputTextField.getText(),
|
||||
btcWalletService.emptyBtcWallet(addressInputTextField.getText(),
|
||||
aesKey,
|
||||
() -> {
|
||||
closeButton.updateText(Res.get("shared.close"));
|
||||
|
|
Loading…
Add table
Reference in a new issue