Skip to content

Commit de054df

Browse files
committed
contrib: Remove legacy wallet RPCs from bash completions
These RPCs no longer exist.
1 parent 5dff04a commit de054df

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

contrib/completions/bash/bitcoin-cli.bash

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ _bitcoin_cli() {
3939

4040
if ((cword > 4)); then
4141
case ${words[cword-4]} in
42-
importaddress|listtransactions|setban)
42+
listtransactions|setban)
4343
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
4444
return 0
4545
;;
@@ -52,10 +52,7 @@ _bitcoin_cli() {
5252

5353
if ((cword > 3)); then
5454
case ${words[cword-3]} in
55-
addmultisigaddress)
56-
return 0
57-
;;
58-
getbalance|gettxout|importaddress|importpubkey|importprivkey|listreceivedbyaddress|listsinceblock)
55+
getbalance|gettxout|listreceivedbyaddress|listsinceblock)
5956
COMPREPLY=( $( compgen -W "true false" -- "$cur" ) )
6057
return 0
6158
;;
@@ -80,7 +77,7 @@ _bitcoin_cli() {
8077
fi
8178

8279
case "$prev" in
83-
backupwallet|dumpwallet|importwallet)
80+
backupwallet)
8481
_filedir
8582
return 0
8683
;;

0 commit comments

Comments
 (0)