                   :step :recovery-success
                   :forward-action :multiaccounts.recover/re-encrypt-pressed)}
      (when (existing-account? root-data multiaccounts)
-       (show-existing-multiaccount-alert key-uid))
+       (show-existing-multiaccount-alert (:keyUid root-data)))
      (navigation/navigate-to-cofx :recover-multiaccount-success nil))))
 
 (fx/defn enter-phrase-pressed


(fx/defn on-import-multiaccount-success
  {:events [::import-multiaccount-success]}
  [{:keys [db] :as cofx} {:keys [key-uid] :as root-data} derived-data]
  (let [multiaccounts (:multiaccounts/multiaccounts db)]
    (fx/merge
     cofx


(defn existing-account?
  [root-key multiaccounts]
  (contains? multiaccounts (:keyUid root-key)))

(re-frame/reg-fx
 ::validate-mnemonic
