mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Fix bug with missing trade completion
This commit is contained in:
parent
d6ca10523d
commit
4a8161146b
@ -71,6 +71,11 @@ public class BroadcastAfterLockTime extends TradeTask {
|
||||
private void broadcastTx() {
|
||||
Transaction payoutTx = trade.getPayoutTx();
|
||||
checkNotNull(payoutTx, "payoutTx must not be null at BroadcastAfterLockTime.broadcastTx");
|
||||
|
||||
Transaction payoutTxFromWallet = processModel.getWalletService().getWallet().getTransaction(payoutTx.getHash());
|
||||
if (payoutTxFromWallet != null)
|
||||
payoutTx = payoutTxFromWallet;
|
||||
|
||||
TransactionConfidence.ConfidenceType confidenceType = payoutTx.getConfidence().getConfidenceType();
|
||||
if (confidenceType.equals(TransactionConfidence.ConfidenceType.BUILDING)) {
|
||||
trade.setState(Trade.State.PAYOUT_BROAD_CASTED);
|
||||
|
Loading…
Reference in New Issue
Block a user