fix: bad command for restore
This commit is contained in:
parent
a32754610a
commit
01d2db5a1b
|
@ -291,7 +291,7 @@ async function serialSigner(path) {
|
||||||
hwwShowRestoreDialog: async function () {
|
hwwShowRestoreDialog: async function () {
|
||||||
try {
|
try {
|
||||||
this.hww.showRestoreDialog = true
|
this.hww.showRestoreDialog = true
|
||||||
await this.sendCommandSecure(COMMAND_WIPE)
|
await this.sendCommandSecure(COMMAND_RESTORE)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.$q.notify({
|
this.$q.notify({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
|
@ -628,15 +628,6 @@ async function serialSigner(path) {
|
||||||
handleShowSeedResponse: function (res = '') {
|
handleShowSeedResponse: function (res = '') {
|
||||||
const args = res.trim().split(' ')
|
const args = res.trim().split(' ')
|
||||||
console.log('### handleShowSeedResponse: ', res)
|
console.log('### handleShowSeedResponse: ', res)
|
||||||
// if (args.length < 2 || args[0].trim() !== '1') {
|
|
||||||
// this.$q.notify({
|
|
||||||
// type: 'warning',
|
|
||||||
// message: 'Failed to show seed!',
|
|
||||||
// caption: `${res}`,
|
|
||||||
// timeout: 10000
|
|
||||||
// })
|
|
||||||
// return
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
hwwRestore: async function () {
|
hwwRestore: async function () {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user