cosme12 / SimpleCoin

Just a really simple, insecure and incomplete implementation of a blockchain for a cryptocurrency made in Python as educational material. In other words, a simple Bitcoin clone.
http://copitosystem.com
MIT License
1.78k stars 395 forks source link

Modify function generate_ECDSA_keys() in simplecoin/wallet.py #64

Open kumar0500 opened 3 years ago

kumar0500 commented 3 years ago

This modification is done to ensure that when user enters a wallet address while generating a new wallet, the program checks whether a wallet with same filename already exists or not. If it exists, the user is prompted to choose either overwriting the old wallet or entering a new wallet name.