deleting the remaining checksum from the private key

This commit is contained in:
amougel
2017-06-05 17:08:22 +02:00
parent f5162bc508
commit 71efc07467

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,-4)
}