]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Merge pull request #71 from LedgerHQ/master
authoriancoleman <coleman.ian@gmail.com>
Tue, 6 Jun 2017 04:25:13 +0000 (14:25 +1000)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2017 04:25:13 +0000 (14:25 +1000)
Deleting the remaining checksum from the Ripple private key

src/js/ripple-util.js

index 8b287fb6dfbad647f70cbc3001f424c09c4c7c1b..8184a7635ae1f5e2d6c5be967eb921d6f4b2e1ed 100644 (file)
@@ -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,66)
 }