1

I created few wallets with Bitcoin Core using file-> Create Wallet. It created directories for each wallet name. Only that was for experimenting so I deleted those directories.

The problem is that now when I run Bitcoin Core, it tries (and fails) to load each of those nonexistent wallets. For instance, one of those wallet names was wall2, so when I run bitcoin core now I get this message:

"Warning: Skipping -wallet path that doesn't exist. Failed to load database path'E:\bitcoin\wall2. Path does not exist."

And for every such message, I need to click Enter.

How can I make bitcoin core 'forget' and stop trying to load all those ghost wallets?

1 Answer 1

4

In the data directory, there should be a file named settings.json. Just delete the lines with the names of the wallets that you have removed.

The file needs to contain valid json, so you also need to make sure that the last name entry in the wallet array does not contain a trailing comma.

For example, if you created wallets named wallet1, wallet2, wallet3, and wallet4, the file should look like

{
    "wallet": [
     "wallet1",
     "wallet2",
     "wallet3",
     "wallet4"
    ]
   }

If you have deleted wallet2 and wallet4, then you need to change the file to be:

{
    "wallet": [
     "wallet1",
     "wallet3"
    ]
   }
1
  • Great! Thanks @Andrew Chow
    – mikest
    Jan 11 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.