Merge pull request #71 from LedgerHQ/master

Deleting the remaining checksum from the Ripple private key
This commit is contained in:
iancoleman
2017-06-06 14:25:13 +10:00
committed by GitHub
+1 -1
View 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)
}