diff --git a/src/status_im/contexts/keycard/events.cljs b/src/status_im/contexts/keycard/events.cljs index cf44162dc7..4ad871b8c0 100644 --- a/src/status_im/contexts/keycard/events.cljs +++ b/src/status_im/contexts/keycard/events.cljs @@ -130,21 +130,3 @@ {:on-cancel-event-vector [:keycard/cancel-connection]}]] (when (get-in db [:keycard :card-connected?]) [:dispatch event-vector])]}))) - -(rf/reg-event-fx - :keycard/sign - (fn [_ [data]] - {:fx [[:effects.keycard/sign data]]})) - -(rf/reg-event-fx - :keycard/sign-hash - (fn [_ [{:keys [key-uid on-success] :as data}]] - {:fx [[:dispatch - [:keycard/connect - {:key-uid key-uid - :on-success #(rf/dispatch [:keycard/sign - (assoc data - :on-success - (fn [signature] - (when on-success (on-success signature)) - (rf/dispatch [:keycard/disconnect])))])}]]]}))