From: amougel Date: Mon, 5 Jun 2017 15:08:22 +0000 (+0200) Subject: deleting the remaining checksum from the private key X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=commitdiff_plain;h=71efc074676b85dc56f34a89a65492ce083eac66 deleting the remaining checksum from the private key --- diff --git a/src/js/ripple-util.js b/src/js/ripple-util.js index 8b287fb..8cafdf7 100644 --- a/src/js/ripple-util.js +++ b/src/js/ripple-util.js @@ -5,6 +5,6 @@ function convertRippleAdrr(address) { } function convertRipplePriv(priv) { - return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2) + return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,-4) }