From 725566499002adfe280ba2df3d1621b765191eee Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 16 Aug 2016 14:10:16 +0300 Subject: [PATCH] fix filtres typo --- src/cljs/status_im/protocol/api.cljs | 4 ++-- src/cljs/status_im/protocol/web3.cljs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cljs/status_im/protocol/api.cljs b/src/cljs/status_im/protocol/api.cljs index dfbd30c..39726ab 100644 --- a/src/cljs/status_im/protocol/api.cljs +++ b/src/cljs/status_im/protocol/api.cljs @@ -31,7 +31,7 @@ create-identity add-identity stop-listener - stop-watching-filtres]] + stop-watching-filters]] [status-im.protocol.handler :refer [handle-incoming-whisper-msg] :as handler] [status-im.protocol.user-handler :refer [invoke-user-handler]] @@ -85,7 +85,7 @@ :address "no-address"} parameters)) ([{:keys [public-key] :as account} {:keys [handler ethereum-rpc-url storage identity active-group-ids]}] (when (seq (state/get-all-filters)) - (stop-watching-filtres)) + (stop-watching-filters)) (set-storage storage) (set-handler handler) (go diff --git a/src/cljs/status_im/protocol/web3.cljs b/src/cljs/status_im/protocol/web3.cljs index 93db788..66445a8 100644 --- a/src/cljs/status_im/protocol/web3.cljs +++ b/src/cljs/status_im/protocol/web3.cljs @@ -135,7 +135,7 @@ (.stopWatching filter) (state/remove-filter topics))))) -(defn stop-watching-filtres [] +(defn stop-watching-filters [] (doseq [filter (state/get-all-filters)] (.stopWatching filter)) (state/remove-all-filters))