aboutsummaryrefslogtreecommitdiff
path: root/src/js/ripple-util.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ripple-util.js')
-rw-r--r--src/js/ripple-util.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/ripple-util.js b/src/js/ripple-util.js
index f26a93a..ee8c4fd 100644
--- a/src/js/ripple-util.js
+++ b/src/js/ripple-util.js
@@ -1,10 +1,10 @@
1function convertRippleAdrr(address) { 1function convertRippleAdrr(address) {
2 return window.basex('rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz').encode( 2 return libs.basex('rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz').encode(
3 window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(address) 3 libs.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(address)
4 ) 4 )
5 } 5 }
6 6
7function convertRipplePriv(priv) { 7function convertRipplePriv(priv) {
8 return window.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66) 8 return libs.basex('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz').decode(priv).toString("hex").slice(2,66)
9} 9}
10 10