finish processing PaymentReceivedMessage

This commit is contained in:
woodser 2022-11-24 14:25:32 +00:00
parent 4c7075b0bd
commit 9c5fdb5d4a

View file

@ -60,11 +60,7 @@ public class ProcessPaymentReceivedMessage extends TradeTask {
if (trade.getSeller().getNodeAddress().equals(trade.getBuyer().getNodeAddress())) trade.getBuyer().setNodeAddress(null); // tests can reuse addresses
// process payout tx unless already unlocked
if (!trade.isPayoutUnlocked()) {
processPayoutTx(message);
complete();
return;
}
if (!trade.isPayoutUnlocked()) processPayoutTx(message);
SignedWitness signedWitness = message.getSignedWitness();
if (signedWitness != null) {