fix filtres typo

This commit is contained in:
Roman Volosovskyi 2016-08-16 14:10:16 +03:00
parent 661cd04e74
commit 7255664990
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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))