btcjson: remove WebsocketOnly for wallet extension RPCs

This commit is contained in:
Roy Lee 2022-07-29 12:10:53 -07:00
parent 05f52c11a1
commit 6b0e7592c6

View file

@ -114,9 +114,8 @@ func NewWalletIsLockedCmd() *WalletIsLockedCmd {
}
func init() {
// The commands in this file are only usable with a wallet server via
// websockets.
flags := UFWalletOnly | UFWebsocketOnly
// The commands in this file are only usable with a wallet server.
flags := UFWalletOnly
MustRegisterCmd("createencryptedwallet", (*CreateEncryptedWalletCmd)(nil), flags)
MustRegisterCmd("exportwatchingwallet", (*ExportWatchingWalletCmd)(nil), flags)