chris-belcher / electrum-personal-server

Maximally lightweight electrum server for a single user
MIT License
599 stars 108 forks source link

eps error No wallet is loaded #270

Open la841 opened 2 years ago

la841 commented 2 years ago

I am running btcoincore 23.0 and eps 0.2.3, when I run electrum-personal-server config.ini I get this: INFO:2022-05-17 13:09:23,130: Starting Electrum Personal Server 0.2.3 INFO:2022-05-17 13:09:23,130: Logging to /tmp/electrumpersonalserver.log ERROR:2022-05-17 13:09:23,805: JsonRpcError({'code': -18, 'message': 'No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)'}) ERROR:2022-05-17 13:09:23,806: Wallet related RPC call failed, possibly the bitcoin node was compiled with the disable wallet flag I have loaded the mpk in config.ini and in electrum. Any help would be appreciated. Thank you.

ekosiy commented 2 years ago

@la841 Hi, did you try to load that wallet in bitcoin core? something like bitcoin-cli -rpcport=18332 -rpcuser=***** -rpcpassword=**** loadwallet your-wallet-name ? It may be required for each bitcoin core restart

la841 commented 2 years ago

I havent load the wallet in bitcoin core. I have created it with a hardware wallet. I have previously used that wallet and no need to load the wallet with bitcoin-cli.... I also restarted bitcoin core but still get the same failure.

rage-proof commented 2 years ago

@la841 have you added wallet=electrumpersonalserver to your bitcoin.conf file as the readme mentions? What bitcoin core version do you use? I think v23.0 doesn't create a wallet by default anymore.

andrewtoth commented 2 years ago

Hi @la841, this can be resolved by running bitcoin-cli createwallet electrumpersonalserver true true "" false false true.