fix: deserialize custom bootnodes settings correctly
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
7f0cfc0c69
commit
fabbfc38f8
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
(defn rpc->custom-bootnodes [custom-bootnodes]
|
(defn rpc->custom-bootnodes [custom-bootnodes]
|
||||||
(reduce-kv (fn [acc chain custom-bootnodes]
|
(reduce-kv (fn [acc chain custom-bootnodes]
|
||||||
(assoc acc (str chain) custom-bootnodes))
|
(assoc acc (name chain) custom-bootnodes))
|
||||||
{}
|
{}
|
||||||
custom-bootnodes))
|
custom-bootnodes))
|
||||||
|
|
||||||
|
@ -39,4 +39,6 @@
|
||||||
(update :wallet/visible-tokens rpc->visible-tokens)
|
(update :wallet/visible-tokens rpc->visible-tokens)
|
||||||
(update :pinned-mailservers rpc->pinned-mailservers)
|
(update :pinned-mailservers rpc->pinned-mailservers)
|
||||||
(update :stickers/packs-installed rpc->stickers-packs)
|
(update :stickers/packs-installed rpc->stickers-packs)
|
||||||
|
(update :custom-bootnodes rpc->custom-bootnodes)
|
||||||
|
(update :custom-bootnodes-enabled? rpc->custom-bootnodes)
|
||||||
(update :currency keyword)))
|
(update :currency keyword)))
|
||||||
|
|
Loading…
Reference in New Issue