Removal of the Altcoins build (#6177)

* Remove some useless #if ALTCOINS

* Removal of the Altcoins build
This commit is contained in:
Nicolas Dorier
2024-08-30 08:34:23 +09:00
committed by GitHub
parent 25ccc6a9f9
commit a3cfb9e5e4
54 changed files with 23 additions and 292 deletions

View File

@@ -401,12 +401,10 @@ namespace BTCPayServer.Controllers
{
var c = this.ExplorerClientProvider.GetExplorerClient(walletId.CryptoCode);
var cashCow = cheater.GetCashCow(walletId.CryptoCode);
#if ALTCOINS
if (walletId.CryptoCode == "LBTC")
{
await cashCow.SendCommandAsync("rescanblockchain");
}
#endif
var addresses = Enumerable.Range(0, 200).Select(_ => c.GetUnusedAsync(paymentMethod.AccountDerivation, DerivationFeature.Deposit, reserve: true)).ToArray();
await Task.WhenAll(addresses);