This commit is contained in:
陆柯 2021-05-12 16:17:59 +08:00
parent 5eb589ac2c
commit 437ba95af4

View File

@ -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) {