From 6b0e7592c6e136611caae04831a36db432cc1c39 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Fri, 29 Jul 2022 12:10:53 -0700 Subject: [PATCH] btcjson: remove WebsocketOnly for wallet extension RPCs --- btcjson/walletsvrwscmds.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/btcjson/walletsvrwscmds.go b/btcjson/walletsvrwscmds.go index e1e60fbe..e6a3aa72 100644 --- a/btcjson/walletsvrwscmds.go +++ b/btcjson/walletsvrwscmds.go @@ -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)