mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Removal of the Altcoins build (#6177)
* Remove some useless #if ALTCOINS * Removal of the Altcoins build
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user