From d465cbdb47f223bee6f41f24eea7e8ff773d4450 Mon Sep 17 00:00:00 2001 From: Ulises M Date: Fri, 17 May 2024 16:49:28 -0600 Subject: [PATCH] WIP --- .../contexts/wallet/add_account/create_account/view.cljs | 2 +- src/status_im/contexts/wallet/events.cljs | 3 +-- src/status_im/contexts/wallet/sheets/remove_account/view.cljs | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status_im/contexts/wallet/add_account/create_account/view.cljs b/src/status_im/contexts/wallet/add_account/create_account/view.cljs index c099bab36622..57dae7cc646f 100644 --- a/src/status_im/contexts/wallet/add_account/create_account/view.cljs +++ b/src/status_im/contexts/wallet/add_account/create_account/view.cljs @@ -122,7 +122,7 @@ (create-existing-keypair-account {:password password :selected-keypair selected-keypair - :derivation-path derivation-path + :derivation-path @derivation-path :new-account-data new-account-data}))))] (rn/use-effect #(rf/dispatch diff --git a/src/status_im/contexts/wallet/events.cljs b/src/status_im/contexts/wallet/events.cljs index 28c1866a93f2..f5f23146df3f 100644 --- a/src/status_im/contexts/wallet/events.cljs +++ b/src/status_im/contexts/wallet/events.cljs @@ -215,8 +215,7 @@ :colorID color}] {:fx [[:json-rpc/call [{:method "accounts_addAccount" - :params [(when (= type :generated) - sha3-pwd) + :params [(when (= type :generated) sha3-pwd) account-config] :on-success [:wallet/add-account-success lowercase-address] :on-error #(log/info "failed to create account " % account-config)}]]]}))) diff --git a/src/status_im/contexts/wallet/sheets/remove_account/view.cljs b/src/status_im/contexts/wallet/sheets/remove_account/view.cljs index 3c91f5cb55a0..b134d9ea4498 100644 --- a/src/status_im/contexts/wallet/sheets/remove_account/view.cljs +++ b/src/status_im/contexts/wallet/sheets/remove_account/view.cljs @@ -92,6 +92,7 @@ (defn view [] (let [{:keys [type] :as account} (rf/sub [:wallet/current-viewing-account])] + (println "--------------------------------------" type) (case type :generated [recovery-phase-flow account] :watch [watched-address-flow account]