From 437ba95af4384dd62ad13e0053766cc531cd45e5 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Wed, 12 May 2021 16:17:59 +0800 Subject: [PATCH] u --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ab303dc..e71281f 100644 --- a/index.js +++ b/index.js @@ -518,7 +518,7 @@ class TICrypto { * @return {String} address * @memberof TICrypto */ - static secword2address(secword, { coin, pass, path, tool, hasher }) { + static secword2address(secword, { coin, pass, path, tool, hasher } = {}) { coin = my.COIN_LIST.indexOf(coin?.toUpperCase()) >= 0 ? coin.toUpperCase() : my.COIN let kp = this.secword2keypair(secword, { coin, pass, path, tool, hasher }) if (kp) {