mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Run dotnet format (#3244)
This commit is contained in:
@@ -259,7 +259,7 @@ namespace BTCPayServer.Payments.PayJoin
|
||||
{
|
||||
|
||||
var key = output.ScriptPubKey.Hash + "#" + network.CryptoCode.ToUpperInvariant();
|
||||
invoice = (await _invoiceRepository.GetInvoicesFromAddresses(new[] {key})).FirstOrDefault();
|
||||
invoice = (await _invoiceRepository.GetInvoicesFromAddresses(new[] { key })).FirstOrDefault();
|
||||
if (invoice is null)
|
||||
continue;
|
||||
derivationSchemeSettings = invoice
|
||||
@@ -272,10 +272,10 @@ namespace BTCPayServer.Payments.PayJoin
|
||||
var store = await _storeRepository.FindStore(walletReceiveMatch.Item1.StoreId);
|
||||
derivationSchemeSettings = store.GetDerivationSchemeSettings(_btcPayNetworkProvider,
|
||||
walletReceiveMatch.Item1.CryptoCode);
|
||||
|
||||
|
||||
walletId = walletReceiveMatch.Item1;
|
||||
}
|
||||
|
||||
|
||||
if (derivationSchemeSettings is null)
|
||||
continue;
|
||||
var receiverInputsType = derivationSchemeSettings.AccountDerivation.ScriptPubKeyType();
|
||||
@@ -499,10 +499,10 @@ namespace BTCPayServer.Payments.PayJoin
|
||||
return UnprocessableEntity(CreatePayjoinError("already-paid",
|
||||
$"The original transaction has already been accounted"));
|
||||
}
|
||||
_eventAggregator.Publish(new InvoiceEvent(invoice,InvoiceEvent.ReceivedPayment) { Payment = payment });
|
||||
_eventAggregator.Publish(new InvoiceEvent(invoice, InvoiceEvent.ReceivedPayment) { Payment = payment });
|
||||
}
|
||||
|
||||
|
||||
|
||||
await _btcPayWalletProvider.GetWallet(network).SaveOffchainTransactionAsync(ctx.OriginalTransaction);
|
||||
_eventAggregator.Publish(new UpdateTransactionLabel()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user