mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 16:32:18 +00:00
deleting the remaining checksum from the private key
This commit is contained in:
@@ -5,6 +5,6 @@ function convertRippleAdrr(address) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function convertRipplePriv(priv) {
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user