mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Disable cold wallet creation by default
This commit is contained in:
@@ -795,7 +795,7 @@ namespace BTCPayServer.Controllers
|
||||
private async Task<bool> CanUseHotWallet()
|
||||
{
|
||||
var policies = await _settingsRepository.GetSettingAsync<PoliciesSettings>();
|
||||
return (await _authorizationService.CanUseHotWallet(policies, User)).HotWallet;
|
||||
return (await _authorizationService.CanUseHotWallet(policies, User)).CanCreateHotWallet;
|
||||
}
|
||||
|
||||
[HttpGet("{walletId}/send")]
|
||||
|
||||
Reference in New Issue
Block a user