Skip to content

Commit

Permalink
Compile standalone v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Coleman committed Jun 14, 2017
1 parent d0239db commit 920eb59
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bip39-standalone.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,18 @@
border-bottom: 1px dashed #000;
text-decoration: none;
}
.version {
position: absolute;
top: 5px;
right: 5px;
}
</style>
</head>
<body>
<div class="container">

<h1 class="text-center">Mnemonic Code Converter</h1>
<p class="version">v0.1.0</p>
<hr>
<div class="row">
<div class="col-md-12">
Expand Down Expand Up @@ -38726,7 +38732,7 @@ <h3 data-translate>Libraries</h3>
}

function convertRipplePriv(priv) {
return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2)
return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
}

</script>
Expand Down Expand Up @@ -44310,6 +44316,8 @@ <h3 data-translate>Libraries</h3>
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") {
Expand Down

0 comments on commit 920eb59

Please sign in to comment.