mirror of
https://git.wownero.com/wownero/wownero-wallet-generator.git
synced 2024-08-15 01:03:32 +00:00
sanity check before generating new address
This commit is contained in:
parent
92c9e34701
commit
f44d42cb08
1 changed files with 6 additions and 0 deletions
|
@ -10939,6 +10939,9 @@ place any email address in a new GPG key, so the right email being shown is no g
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
window.onbeforeunload = function(e) {
|
||||||
|
return '';
|
||||||
|
};
|
||||||
function poor_mans_kdf(str)
|
function poor_mans_kdf(str)
|
||||||
{
|
{
|
||||||
var hex = cnBase58.bintohex(cnBase58.strtobin(str));
|
var hex = cnBase58.bintohex(cnBase58.strtobin(str));
|
||||||
|
@ -10950,6 +10953,9 @@ current_lang='english';
|
||||||
keys = null;
|
keys = null;
|
||||||
function genwallet(lang)
|
function genwallet(lang)
|
||||||
{
|
{
|
||||||
|
if(keys && !confirm('Are you sure? This wallet cannot be recovered once a new wallet is generated.')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
spend_key_widget = document.getElementById("spend_key_widget");
|
spend_key_widget = document.getElementById("spend_key_widget");
|
||||||
view_key_widget = document.getElementById("view_key_widget");
|
view_key_widget = document.getElementById("view_key_widget");
|
||||||
address_widget = document.getElementById("address_widget");
|
address_widget = document.getElementById("address_widget");
|
||||||
|
|
Loading…
Reference in a new issue