mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fix NRE
This commit is contained in:
parent
1199d4ead9
commit
d8f9075e2a
@ -371,7 +371,7 @@ namespace BTCPayServer.Payments.Bitcoin
|
||||
var address = network.NBXplorerNetwork.CreateAddress(strategy, coin.KeyPath, coin.ScriptPubKey);
|
||||
|
||||
var paymentData = new BitcoinLikePaymentData(address, coin.Value, coin.OutPoint,
|
||||
transaction.Transaction is null ? true : transaction.Transaction.RBF, coin.KeyPath);
|
||||
transaction?.Transaction is null ? true : transaction.Transaction.RBF, coin.KeyPath);
|
||||
|
||||
var payment = await _InvoiceRepository.AddPayment(invoice.Id, coin.Timestamp, paymentData, network).ConfigureAwait(false);
|
||||
alreadyAccounted.Add(coin.OutPoint);
|
||||
|
Loading…
Reference in New Issue
Block a user