From b1e6f73c902de3c08eb1b7f68c259830255ed966 Mon Sep 17 00:00:00 2001 From: DavidKevork Date: Fri, 27 Oct 2017 11:17:56 +1100 Subject: [PATCH] added smartcash background image to the single wallet --- src/bitcoinjs-lib.eckey.js | 10 +++++----- src/index.html | 9 ++++++--- src/main.css | 32 ++++++++++++++++++++++++++++---- src/paper_wallet.png | Bin 0 -> 122093 bytes 4 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 src/paper_wallet.png diff --git a/src/bitcoinjs-lib.eckey.js b/src/bitcoinjs-lib.eckey.js index 65b210e..be75251 100644 --- a/src/bitcoinjs-lib.eckey.js +++ b/src/bitcoinjs-lib.eckey.js @@ -328,16 +328,16 @@ Bitcoin.ECKey = (function () { ECKey.isWalletImportFormat = function (key) { key = key.toString(); return (ECKey.privateKeyPrefix == 0xBF) ? - (/^V[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{50}$/.test(key)) : - (/^T[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{50}$/.test(key)); + (/^7[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{50}$/.test(key)) : + (/^6[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{50}$/.test(key)); }; // 52 characters base58 ECKey.isCompressedWalletImportFormat = function (key) { key = key.toString(); - return (ECKey.privateKeyPrefix == 0x80) ? - (/^7[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(key)) : - (/^6[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(key)); + return (ECKey.privateKeyPrefix == 0xBF) ? + (/^V[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(key)) : + (/^T[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{51}$/.test(key)); }; // 44 characters diff --git a/src/index.html b/src/index.html index ba670d5..3922a51 100644 --- a/src/index.html +++ b/src/index.html @@ -204,7 +204,7 @@
  • Brain Wallet
  • Vanity Wallet
  • Wallet Details +