I am a bit confused about the wallet location in my system.
I have created a wallet named mywallet
using cleos
. then I opened eosio_wallet
directory and I found mywallet.wallet
file. I deleted mywallet.wallet
file and run cleos wallet list
command. Still, I found mywallet
in the list.
Is there a way to remove the created wallet?
2 Answers
before deleting the wallet stop the wallet using
cleos wallet stop -n wallet_name
and then delete the wallet i guess this will help
From some sources I understood, Unix systems keep deleted files alive in a zombie-like state as long as any processes have them open. So deleted wallet will remain in a virtual state until keosd is killed
--wallet-dir
to specify you wallet location generally it is located on~/eosio-wallet
cleos wallet open -n your_wallet
this through the error with the path thatkeosd
is accessing, there you can delete the wallets