From 920eb591a467dba98bef44adabb6cd6b257f43e2 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Wed, 14 Jun 2017 12:31:12 +1000 Subject: [PATCH] Compile standalone v0.1.0 --- bip39-standalone.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bip39-standalone.html b/bip39-standalone.html index 09634b8..bcf020c 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -107,12 +107,18 @@ border-bottom: 1px dashed #000; text-decoration: none; } + .version { + position: absolute; + top: 5px; + right: 5px; + }

Mnemonic Code Converter

+

v0.1.0


@@ -38726,7 +38732,7 @@ module.exports = function stripHexPrefix(str) { } function convertRipplePriv(priv) { - return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2) + return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66) } @@ -44310,6 +44316,8 @@ window.Entropy = new (function() { var hexAddress = addressBuffer.toString('hex'); var checksumAddress = ethUtil.toChecksumAddress(hexAddress); address = ethUtil.addHexPrefix(checksumAddress); + privkey = ethUtil.addHexPrefix(privkey); + pubkey = ethUtil.addHexPrefix(pubkey); } // Ripple values are different if (networks[DOM.network.val()].name == "Ripple") { -- 2.41.0