btcjson: remove WebsocketOnly for wallet extension RPCs
This commit is contained in:
parent
05f52c11a1
commit
6b0e7592c6
1 changed files with 2 additions and 3 deletions
|
@ -114,9 +114,8 @@ func NewWalletIsLockedCmd() *WalletIsLockedCmd {
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// The commands in this file are only usable with a wallet server via
|
// The commands in this file are only usable with a wallet server.
|
||||||
// websockets.
|
flags := UFWalletOnly
|
||||||
flags := UFWalletOnly | UFWebsocketOnly
|
|
||||||
|
|
||||||
MustRegisterCmd("createencryptedwallet", (*CreateEncryptedWalletCmd)(nil), flags)
|
MustRegisterCmd("createencryptedwallet", (*CreateEncryptedWalletCmd)(nil), flags)
|
||||||
MustRegisterCmd("exportwatchingwallet", (*ExportWatchingWalletCmd)(nil), flags)
|
MustRegisterCmd("exportwatchingwallet", (*ExportWatchingWalletCmd)(nil), flags)
|
||||||
|
|
Loading…
Reference in a new issue