fix recovery with mnemonic on keycard

This commit is contained in:
Roman Volosovskyi 2019-10-31 09:46:50 +02:00
parent c7cc80bc60
commit f7cc74a29a
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -1645,7 +1645,7 @@
(filter #(= (:id %) selected-id))
first
:mnemonic)
recovery-mnemonic (get-in db [:multiaccounts/recover :passphrase])
recovery-mnemonic (get-in db [:intro-wizard :passphrase])
mnemonic' (or user-selected-mnemonic mnemonic recovery-mnemonic)
pin' (or pin (vector->string (get-in db [:hardwallet :pin :current])))]
(fx/merge cofx