mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +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:
10
BTCPayServer/Models/StoreViewModels/WalletSetupRequest.cs
Normal file
10
BTCPayServer/Models/StoreViewModels/WalletSetupRequest.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using NBXplorer.Models;
|
||||
|
||||
namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
public class WalletSetupRequest : GenerateWalletRequest
|
||||
{
|
||||
public bool PayJoinEnabled { get; set; }
|
||||
public bool CanUsePayJoin { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user