In key management section, the mnemonic was not being trimmed, which lead to issues
Signed-off-by: Shivek Khurana <shivek@status.im>
This commit is contained in:
parent
f0827ff624
commit
90ad5f2f77
|
@ -66,7 +66,8 @@
|
|||
"Check if the key-uid was generated with the given seed-phrase"
|
||||
[{:keys [import-mnemonic-fn on-success on-error]} {:keys [seed-phrase key-uid]}]
|
||||
(import-mnemonic-fn
|
||||
seed-phrase nil
|
||||
(mnemonic/sanitize-passphrase seed-phrase)
|
||||
nil
|
||||
(fn [result]
|
||||
(let [{:keys [keyUid]} (types/json->clj result)]
|
||||
;; if the key-uid from app-db is same as the one returned by multiaccount import,
|
||||
|
|
Loading…
Reference in New Issue