mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Revert "Remove unused variables" (#5667)
This reverts commit f070b22355.
This commit is contained in:
@@ -146,6 +146,7 @@ namespace BTCPayServer.Controllers
|
||||
return NotFound();
|
||||
|
||||
var txObjId = new WalletObjectId(walletId, WalletObjectData.Types.Tx, transactionId);
|
||||
var wallet = _walletProvider.GetWallet(paymentMethod.Network);
|
||||
if (addlabel != null)
|
||||
{
|
||||
await WalletRepository.AddWalletObjectLabels(txObjId, addlabel);
|
||||
@@ -413,6 +414,7 @@ namespace BTCPayServer.Controllers
|
||||
await ExplorerClientProvider.GetExplorerClient(walletId.CryptoCode).WaitServerStartedAsync();
|
||||
await Task.Delay(1000);
|
||||
await using var conn = await factory.OpenConnection();
|
||||
var wallet_id = paymentMethod.GetNBXWalletId();
|
||||
|
||||
var txIds = sending.Select(s => s.Result.ToString()).ToArray();
|
||||
await conn.ExecuteAsync(
|
||||
|
||||
Reference in New Issue
Block a user