mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Fix tests and warnigns
This commit is contained in:
@@ -551,8 +551,7 @@ namespace BTCPayServer.Controllers
|
||||
if (this.GetCurrentStore().Role != StoreRoles.Owner)
|
||||
return Forbid();
|
||||
|
||||
var settings = (this.GetCurrentStore().GetDerivationSchemeSettings(_NetworkProvider, network.CryptoCode));
|
||||
var derivationScheme = settings.AccountDerivation;
|
||||
var derivationScheme = (this.GetCurrentStore().GetDerivationSchemeSettings(_NetworkProvider, network.CryptoCode))?.AccountDerivation;
|
||||
if (derivationScheme is null)
|
||||
return NotSupported("This feature is only available to BTC wallets");
|
||||
var bumpableAddresses = (await GetAddresses(selectedItems))
|
||||
|
||||
Reference in New Issue
Block a user