Post
Topic
Board Electrum
Merits 1 from 1 user
Re: Electrum - default_wallet asking for password I was never asked to create
by
pooya87
on 27/09/2019, 05:58:02 UTC
⭐ Merited by DireWolfM14 (1)
I've never seen the Desktop (Window, Linux, Mac) versions refer to "default_wallet" or attempt to create a wallet with that name.
I have no idea which version of Electrum I first used on my computer, but my first Electrum wallet (which I still have, albeit with no coins in it) is named "default_wallet". I don't think this has changed recently.

Certainly according to the documentation here (https://electrum.readthedocs.io/en/latest/faq.html#where-is-my-wallet-file-located), the first wallet created is called "default_wallet".

Interesting.  It's been months since I've played with the Linux version, and I avoid Macs like the centralized plague that they are (but my daughters use them.)  On my Windows PCs Electrum always defaults to "wallet_1" as the name for the first wallet created.

that is probably because you are either using the New/restore button from your menu instead of having a fresh wallet installed or you are testing it on a computer that already has all the directories set and in your /.../wallets/ directory you have a file called default_wallet already.
i'm not really a python expert but it looks like this is where it creates this file as default in first run, you can see the name is indeed "default_wallet"
https://github.com/spesmilo/electrum/blob/1773bd6cd6b9aaa693c6c1cb865f88fc3597e09f/electrum/simple_config.py#L259