From: amougel Date: Mon, 5 Jun 2017 15:21:00 +0000 (+0200) Subject: deleting the remaining checksum from the private key X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=bbe7f1841cc73e5882bd6e6f4744c0788cfb7f40;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git deleting the remaining checksum from the private key --- diff --git a/src/js/ripple-util.js b/src/js/ripple-util.js index 8cafdf7..8184a76 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,-4) + return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66) }