Revert "Fix Payjoin test randomly crashing"

This reverts commit 485faf0141.
This commit is contained in:
nicolas.dorier 2021-03-23 23:59:26 +09:00
parent 485faf0141
commit 749d26fafa
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -285,7 +285,6 @@ namespace BTCPayServer.Payments.PayJoin
if (!await _payJoinRepository.TryLockInputs(ctx.OriginalTransaction.Inputs.Select(i => i.PrevOut).ToArray()))
{
ctx.DoNotBroadcast();
return CreatePayjoinErrorAndLog(503, PayjoinReceiverWellknownErrors.Unavailable, "Some of those inputs have already been used to make another payjoin transaction");
}