remove timeout processing payment sent message

This commit is contained in:
woodser 2022-08-08 11:59:35 -04:00
parent 3753a42023
commit f8f10a4d6b

View file

@ -102,14 +102,12 @@ public abstract class SellerProtocol extends DisputeProtocol {
SellerProcessesPaymentSentMessage.class) SellerProcessesPaymentSentMessage.class)
.using(new TradeTaskRunner(trade, .using(new TradeTaskRunner(trade,
() -> { () -> {
stopTimeout();
handleTaskRunnerSuccess(peer, message); handleTaskRunnerSuccess(peer, message);
}, },
(errorMessage) -> { (errorMessage) -> {
stopTimeout(); stopTimeout();
handleTaskRunnerFault(peer, message, errorMessage); handleTaskRunnerFault(peer, message, errorMessage);
})) })))
.withTimeout(TRADE_TIMEOUT))
.executeTasks(true); .executeTasks(true);
awaitTradeLatch(); awaitTradeLatch();
} }