From 962d0fb6cde1f8ea2003fa3284a5b756862c51c1 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Fri, 10 Apr 2020 12:06:51 +0300 Subject: [PATCH] [#9665] Allow to change pin after keycard multiacc creation --- src/status_im/hardwallet/recovery.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im/hardwallet/recovery.cljs b/src/status_im/hardwallet/recovery.cljs index 72f9e15dae..17afa44837 100644 --- a/src/status_im/hardwallet/recovery.cljs +++ b/src/status_im/hardwallet/recovery.cljs @@ -210,7 +210,8 @@ (update :instance-uid #(get-in db [:hardwallet :multiaccount :instance-uid] %)))) (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 :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-in [:hardwallet :secrets] dissoc :pin :puk :password) (assoc :multiaccounts/new-installation-id (random-guid-generator))