bitcoin core – Creating a new address in a blank wallet


I’m testing v0.21.1 on linux. I create a new blank wallet with: bitcoin-cli createwallet "my_wallet" false true

But when I try to create a new address with bitcoin-cli getnewaddress I get the following error:

error code: -4
error message:
Error: This wallet has no available keys

What am I doing wrong? Thanks in advance 🙂

Source link

Leave a reply