mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Add payjoin option to hot wallet setup (#2450)
* Add payjoin option to hot wallet setup Enables payjoin by default when creating a hot wallet and offers the user an opt-out. Test fix * Display PayJoin option only if it is available * Test fixes * Update hot wallet checks * Test fix after rebase * Use toggle buttons for enabling options
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using NBXplorer.Models;
|
||||
|
||||
namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
public enum WalletSetupMethod
|
||||
@@ -18,7 +16,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public class WalletSetupViewModel : DerivationSchemeViewModel
|
||||
{
|
||||
public WalletSetupMethod? Method { get; set; }
|
||||
public GenerateWalletRequest SetupRequest { get; set; }
|
||||
public WalletSetupRequest SetupRequest { get; set; }
|
||||
public string StoreId { get; set; }
|
||||
public bool IsHotWallet { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user