Compile standalone v0.1.0

This commit is contained in:
Ian Coleman
2017-06-14 12:31:12 +10:00
parent d0239db48c
commit 920eb591a4
+9 -1
View File
@@ -107,12 +107,18 @@
border-bottom: 1px dashed #000; border-bottom: 1px dashed #000;
text-decoration: none; text-decoration: none;
} }
.version {
position: absolute;
top: 5px;
right: 5px;
}
</style> </style>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<h1 class="text-center">Mnemonic Code Converter</h1> <h1 class="text-center">Mnemonic Code Converter</h1>
<p class="version">v0.1.0</p>
<hr> <hr>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
@@ -38726,7 +38732,7 @@ module.exports = function stripHexPrefix(str) {
} }
function convertRipplePriv(priv) { 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> </script>
@@ -44310,6 +44316,8 @@ window.Entropy = new (function() {
var hexAddress = addressBuffer.toString('hex'); var hexAddress = addressBuffer.toString('hex');
var checksumAddress = ethUtil.toChecksumAddress(hexAddress); var checksumAddress = ethUtil.toChecksumAddress(hexAddress);
address = ethUtil.addHexPrefix(checksumAddress); address = ethUtil.addHexPrefix(checksumAddress);
privkey = ethUtil.addHexPrefix(privkey);
pubkey = ethUtil.addHexPrefix(pubkey);
} }
// Ripple values are different // Ripple values are different
if (networks[DOM.network.val()].name == "Ripple") { if (networks[DOM.network.val()].name == "Ripple") {