diff --git a/src/status_im/data_store/realm/core.cljs b/src/status_im/data_store/realm/core.cljs index 48178a66b8..fae29539a1 100644 --- a/src/status_im/data_store/realm/core.cljs +++ b/src/status_im/data_store/realm/core.cljs @@ -65,8 +65,8 @@ (close-account-realm) (log/debug "is new account? " new-account?) (if new-account? - (let [new-path (str/replace path new-accout-realm-file (str address ".realm"))] - (log/debug "Moving file to " new-path) + (let [new-path (str/replace path new-account-filename address)] + (log/debug "Moving file " path " to " new-path) (fs/move-file path new-path #(move-file-handler address % handler))) (do (reset! account-realm (open-migrated-realm address account/schemas)) diff --git a/src/status_im/data_store/realm/schemas/account/v1/chat-contact.cljs b/src/status_im/data_store/realm/schemas/account/v1/chat_contact.cljs similarity index 100% rename from src/status_im/data_store/realm/schemas/account/v1/chat-contact.cljs rename to src/status_im/data_store/realm/schemas/account/v1/chat_contact.cljs