Skip to content

Commit 920eb59

Browse files
author
Ian Coleman
committed
Compile standalone v0.1.0
1 parent d0239db commit 920eb59

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

bip39-standalone.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,18 @@
107107
border-bottom: 1px dashed #000;
108108
text-decoration: none;
109109
}
110+
.version {
111+
position: absolute;
112+
top: 5px;
113+
right: 5px;
114+
}
110115
</style>
111116
</head>
112117
<body>
113118
<div class="container">
114119

115120
<h1 class="text-center">Mnemonic Code Converter</h1>
121+
<p class="version">v0.1.0</p>
116122
<hr>
117123
<div class="row">
118124
<div class="col-md-12">
@@ -38726,7 +38732,7 @@ <h3 data-translate>Libraries</h3>
3872638732
}
3872738733

3872838734
function convertRipplePriv(priv) {
38729-
return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2)
38735+
return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
3873038736
}
3873138737

3873238738
</script>
@@ -44310,6 +44316,8 @@ <h3 data-translate>Libraries</h3>
4431044316
var hexAddress = addressBuffer.toString('hex');
4431144317
var checksumAddress = ethUtil.toChecksumAddress(hexAddress);
4431244318
address = ethUtil.addHexPrefix(checksumAddress);
44319+
privkey = ethUtil.addHexPrefix(privkey);
44320+
pubkey = ethUtil.addHexPrefix(pubkey);
4431344321
}
4431444322
// Ripple values are different
4431544323
if (networks[DOM.network.val()].name == "Ripple") {

0 commit comments

Comments
 (0)