mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Fix bug with missing check for pending tx
This commit is contained in:
parent
e6463f5f86
commit
85fc0ca2cd
1 changed files with 2 additions and 2 deletions
|
@ -78,10 +78,10 @@ public class BroadcastAfterLockTime extends TradeTask {
|
|||
log.debug("payoutTxFromWallet:" + payoutTxFromWallet);
|
||||
if (payoutTxFromWallet != null)
|
||||
payoutTx = payoutTxFromWallet;
|
||||
|
||||
|
||||
TransactionConfidence.ConfidenceType confidenceType = payoutTx.getConfidence().getConfidenceType();
|
||||
log.debug("payoutTx confidenceType:" + confidenceType);
|
||||
if (confidenceType.equals(TransactionConfidence.ConfidenceType.BUILDING)) {
|
||||
if (confidenceType.equals(TransactionConfidence.ConfidenceType.BUILDING) || confidenceType.equals(TransactionConfidence.ConfidenceType.PENDING)) {
|
||||
log.debug("payoutTx already building:" + payoutTx);
|
||||
trade.setState(Trade.State.PAYOUT_BROAD_CASTED);
|
||||
complete();
|
||||
|
|
Loading…
Add table
Reference in a new issue