mirror of
https://github.com/status-im/status-react.git
synced 2025-02-18 13:58:24 +00:00
[#9665] Allow to change pin after keycard multiacc creation
This commit is contained in:
parent
c41727c1b3
commit
962d0fb6cd
@ -210,7 +210,8 @@
|
|||||||
(update :instance-uid #(get-in db [:hardwallet :multiaccount :instance-uid] %))))
|
(update :instance-uid #(get-in db [:hardwallet :multiaccount :instance-uid] %))))
|
||||||
(assoc-in [:hardwallet :multiaccount-wallet-address] (:wallet-address account-data))
|
(assoc-in [:hardwallet :multiaccount-wallet-address] (:wallet-address account-data))
|
||||||
(assoc-in [:hardwallet :multiaccount-whisper-public-key] (:whisper-public-key account-data))
|
(assoc-in [:hardwallet :multiaccount-whisper-public-key] (:whisper-public-key account-data))
|
||||||
(assoc-in [:hardwallet :application-info :key-uid] (:key-uid account-data))
|
(assoc-in [:hardwallet :application-info :key-uid]
|
||||||
|
(ethereum/normalized-hex (:key-uid account-data)))
|
||||||
(update :hardwallet dissoc :recovery-phrase)
|
(update :hardwallet dissoc :recovery-phrase)
|
||||||
(update-in [:hardwallet :secrets] dissoc :pin :puk :password)
|
(update-in [:hardwallet :secrets] dissoc :pin :puk :password)
|
||||||
(assoc :multiaccounts/new-installation-id (random-guid-generator))
|
(assoc :multiaccounts/new-installation-id (random-guid-generator))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user