aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramougel <alix.mougel@gmail.com>2017-06-05 17:08:22 +0200
committeramougel <alix.mougel@gmail.com>2017-06-05 17:08:22 +0200
commit71efc074676b85dc56f34a89a65492ce083eac66 (patch)
treeed50f561255d6247d3f804763cd1daa71efa7794
parentf5162bc5087353f535ac34ab900d80f6ce0c7cd8 (diff)
downloadBIP39-71efc074676b85dc56f34a89a65492ce083eac66.tar.gz
BIP39-71efc074676b85dc56f34a89a65492ce083eac66.tar.zst
BIP39-71efc074676b85dc56f34a89a65492ce083eac66.zip
deleting the remaining checksum from the private key
-rw-r--r--src/js/ripple-util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/ripple-util.js b/src/js/ripple-util.js
index 8b287fb..8cafdf7 100644
--- a/src/js/ripple-util.js
+++ b/src/js/ripple-util.js
@@ -5,6 +5,6 @@ function convertRippleAdrr(address) {
5 } 5 }
6 6
7function convertRipplePriv(priv) { 7function convertRipplePriv(priv) {
8 return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2) 8 return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,-4)
9} 9}
10 10