You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the RPC console with a command that has descriptor arguments results in a Method not found error.
Expected behaviour
The command should either accept the argument as is, or return an error about failing to parse the argument.
Steps to reproduce
> getdescriptorinfo wpkh(cNaQCDwmmh4dS9LzCgVtyy1e1xjCJ21GUDHe9K98nzb689JvinGV)
Method not found (code -32601)
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v25.99.0-c92fd638860c
Operating system and version
Arch Linux
Machine specifications
No response
The text was updated successfully, but these errors were encountered:
achow101
changed the title
Single quotes in arguments cause RPC console to to improperly detect method name
Unquoted descriptor arguments cause RPC console to to improperly detect method name
Jun 12, 2023
Ah, the issue is actually with the parentheses. The console thinks those are the beginning of a nested command or a more function-like syntax, introduced in bitcoin/bitcoin#7783
hebasto
changed the title
Unquoted descriptor arguments cause RPC console to to improperly detect method name
Unquoted descriptor arguments cause RPC console to improperly detect method name
Jun 13, 2023
Is there an existing issue for this?
Current behaviour
Using the RPC console with a command that has descriptor arguments results in a
Method not found
error.Expected behaviour
The command should either accept the argument as is, or return an error about failing to parse the argument.
Steps to reproduce
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v25.99.0-c92fd638860c
Operating system and version
Arch Linux
Machine specifications
No response
The text was updated successfully, but these errors were encountered: