From f7fa261f6971f09701a0c873dca549bd94e94ea8 Mon Sep 17 00:00:00 2001 From: sqrrm Date: Sat, 6 Apr 2019 23:12:06 +0200 Subject: [PATCH] Handle #2659, no output for asset fee tx Avoid creating tx with no outputs apart from opreturn. Use completePreparedBsqTx instead of completePreparedProposalTx for asset fee txs as it's more appropriate and also handles the no output issue. --- core/src/main/java/bisq/core/btc/wallet/BtcWalletService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/btc/wallet/BtcWalletService.java b/core/src/main/java/bisq/core/btc/wallet/BtcWalletService.java index 92fdb953849..73d5e5b1018 100644 --- a/core/src/main/java/bisq/core/btc/wallet/BtcWalletService.java +++ b/core/src/main/java/bisq/core/btc/wallet/BtcWalletService.java @@ -150,7 +150,7 @@ String getWalletAsString(boolean includePrivKeys) { public Transaction completePreparedBurnBsqTx(Transaction preparedBurnFeeTx, byte[] opReturnData) throws WalletException, InsufficientMoneyException, TransactionVerificationException { - return completePreparedProposalTx(preparedBurnFeeTx, opReturnData, null, null); + return completePreparedBsqTx(preparedBurnFeeTx, false, opReturnData); } ///////////////////////////////////////////////////////////////////////////////////////////