익명 04:55

Named arguments in Bitcoin-qt console window not working

Named arguments in Bitcoin-qt console window not working

In the bitcoin-qt Console node window, when I try createwallet wallet_name="test wallet" descriptors=false, I get:

Error: Error parsing JSON: descriptors=false

How can I use named arguments properly in the console?



Top Answer/Comment:

It looks like you need to add the -named parameter to your call to use named arguments. Try to prefix your prompt with -named:

-named createwallet wallet_name="test wallet" descriptors=false

I came to this conclusion by looking at examples in the RPC documentation of createwallet.

상단 광고의 [X] 버튼을 누르면 내용이 보입니다