Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac committed May 20, 2024
1 parent ab30aca commit d465cbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/status_im/contexts/wallet/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)}]]]})))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d465cbd

Please sign in to comment.