diff options
author | amougel <alix.mougel@gmail.com> | 2017-06-05 17:21:00 +0200 |
---|---|---|
committer | amougel <alix.mougel@gmail.com> | 2017-06-05 17:24:40 +0200 |
commit | bbe7f1841cc73e5882bd6e6f4744c0788cfb7f40 (patch) | |
tree | ed671fc0cf9647c94c9228ce52284835abaca357 /src/js | |
parent | 71efc074676b85dc56f34a89a65492ce083eac66 (diff) | |
download | BIP39-bbe7f1841cc73e5882bd6e6f4744c0788cfb7f40.tar.gz BIP39-bbe7f1841cc73e5882bd6e6f4744c0788cfb7f40.tar.zst BIP39-bbe7f1841cc73e5882bd6e6f4744c0788cfb7f40.zip |
deleting the remaining checksum from the private key
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/ripple-util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/ripple-util.js b/src/js/ripple-util.js index 8cafdf7..8184a76 100644 --- a/src/js/ripple-util.js +++ b/src/js/ripple-util.js | |||
@@ -5,6 +5,6 @@ function convertRippleAdrr(address) { | |||
5 | } | 5 | } |
6 | 6 | ||
7 | function convertRipplePriv(priv) { | 7 | function convertRipplePriv(priv) { |
8 | return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,-4) | 8 | return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66) |
9 | } | 9 | } |
10 | 10 | ||