deleting the remaining checksum from the private key

This commit is contained in:
amougel
2017-06-05 17:21:00 +02:00
parent 71efc07467
commit bbe7f1841c

View File

@@ -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)
}