Skip to content

Commit

Permalink
fix 2 keycard setups
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryn committed Sep 27, 2019
1 parent fbb8710 commit 75d0b2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/status_im/hardwallet/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,10 @@
flow (get-in db [:hardwallet :flow])]
(fx/merge cofx
{:db (-> db
(update :hardwallet
dissoc :secrets :card-state :multiaccount-wallet-address
:multiaccount-whisper-public-key
:application-info)
(assoc-in [:hardwallet :setup-step] :begin)
(assoc-in [:hardwallet :on-card-connected] :hardwallet/get-application-info)
(assoc-in [:hardwallet :on-card-read] :hardwallet/check-card-state)
Expand Down
2 changes: 1 addition & 1 deletion src/status_im/init/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
:initial-props initial-props
:desktop/desktop (merge desktop (:desktop/desktop app-db))
:network/type type
:hardwallet hardwallet
:hardwallet (dissoc hardwallet :secrets)
:device-UUID device-UUID
:supported-biometric-auth supported-biometric-auth
:view-id view-id
Expand Down

0 comments on commit 75d0b2a

Please sign in to comment.