add custom coin type

This commit is contained in:
liangping 2022-01-12 21:08:30 +08:00
parent 41a9eb20a3
commit a95dcff4bc

View File

@ -384,10 +384,13 @@ export default {
} }
}) })
this.address = wallet.address[0].addr this.address = wallet.address[0].addr
this.hdpath = wallet.address[0].hdpath
if (this.localAddress()) { if (this.localAddress()) {
this.$refs.wizard.nextTab() this.$refs.wizard.nextTab()
} }
} }
} else {
this.hdpath = `m/44'/${selected.coin_type}/0'/0/0`
} }
}, },
methods: { methods: {