From 8b858ba00d2709005752a750a2690683ab1fae8a Mon Sep 17 00:00:00 2001 From: Jpja Date: Thu, 15 Jan 2015 09:56:47 +0200 Subject: [PATCH] Update bitaddress-vanity.html --- bitaddress-vanity.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitaddress-vanity.html b/bitaddress-vanity.html index 369b896..c973fac 100644 --- a/bitaddress-vanity.html +++ b/bitaddress-vanity.html @@ -9116,7 +9116,7 @@ ninja.wallets.brainwallet = { i = i + 1; bytes = Crypto.SHA256(key + i, { asBytes: true }); btcKey = new Bitcoin.ECKey(bytes); - } while (btcKey.getBitcoinAddress().substring(0,vanitylength) != pattern); + } while (btcKey.getBitcoinAddress().substring(0,vanitylength) != vanitypattern); var bitcoinAddress = btcKey.getBitcoinAddress(); var privWif = btcKey.getBitcoinWalletImportFormat(); document.getElementById("brainbtcaddress").innerHTML = bitcoinAddress;