From a95dcff4bca88c25ae2614827f662e2c413fa414 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 12 Jan 2022 21:08:30 +0800 Subject: [PATCH] add custom coin type --- src/views/WalletAccountImportAddress.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/WalletAccountImportAddress.vue b/src/views/WalletAccountImportAddress.vue index de2ec5a8..b5c61fed 100644 --- a/src/views/WalletAccountImportAddress.vue +++ b/src/views/WalletAccountImportAddress.vue @@ -384,10 +384,13 @@ export default { } }) this.address = wallet.address[0].addr + this.hdpath = wallet.address[0].hdpath if (this.localAddress()) { this.$refs.wizard.nextTab() } } + } else { + this.hdpath = `m/44'/${selected.coin_type}/0'/0/0` } }, methods: {