From 71efc074676b85dc56f34a89a65492ce083eac66 Mon Sep 17 00:00:00 2001 From: amougel Date: Mon, 5 Jun 2017 17:08:22 +0200 Subject: deleting the remaining checksum from the private key --- src/js/ripple-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { } function convertRipplePriv(priv) { - return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2) + return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,-4) } -- cgit v1.2.3