do not extend timeout on sign contract request

This commit is contained in:
woodser 2024-05-25 13:13:18 -04:00
parent 6dfa1841f8
commit dade4a3759

View File

@ -334,7 +334,6 @@ public abstract class TradeProtocol implements DecryptedDirectMessageListener, D
public void handleSignContractRequest(SignContractRequest message, NodeAddress sender) { public void handleSignContractRequest(SignContractRequest message, NodeAddress sender) {
System.out.println(getClass().getSimpleName() + ".handleSignContractRequest() " + trade.getId()); System.out.println(getClass().getSimpleName() + ".handleSignContractRequest() " + trade.getId());
if (!trade.isArbitrator()) trade.addInitProgressStep(); // extend timeout unless arbitrator
ThreadUtils.execute(() -> { ThreadUtils.execute(() -> {
synchronized (trade) { synchronized (trade) {