mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-08 17:19:29 +00:00
release wallet lock processing payout tx
This commit is contained in:
parent
b179203dd2
commit
4ec5339e5d
1 changed files with 83 additions and 85 deletions
|
@ -143,9 +143,9 @@ public abstract class Trade implements Tradable, Model {
|
|||
private final Object pollLock = new Object();
|
||||
private final LongProperty walletHeight = new SimpleLongProperty(0);
|
||||
private MoneroWallet wallet;
|
||||
boolean wasWalletSynced;
|
||||
boolean pollInProgress;
|
||||
boolean restartInProgress;
|
||||
private boolean wasWalletSynced;
|
||||
private boolean pollInProgress;
|
||||
private boolean restartInProgress;
|
||||
private Subscription protocolErrorStateSubscription;
|
||||
private Subscription protocolErrorHeightSubscription;
|
||||
|
||||
|
@ -1127,7 +1127,6 @@ public abstract class Trade implements Tradable, Model {
|
|||
* @param publish publishes the signed payout tx if true
|
||||
*/
|
||||
public void processPayoutTx(String payoutTxHex, boolean sign, boolean publish) {
|
||||
synchronized (walletLock) {
|
||||
log.info("Processing payout tx for {} {}", getClass().getSimpleName(), getId());
|
||||
|
||||
// gather relevant info
|
||||
|
@ -1212,7 +1211,6 @@ public abstract class Trade implements Tradable, Model {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pollWallet();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue