fix filtres typo
This commit is contained in:
parent
661cd04e74
commit
7255664990
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue