Skip to content

Commit

Permalink
btcjson: remove WebsocketOnly for wallet extension RPCs
Browse files Browse the repository at this point in the history
  • Loading branch information
roylee17 committed Jul 29, 2022
1 parent 05f52c1 commit 6b0e759
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions btcjson/walletsvrwscmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6b0e759

Please sign in to comment.