Fix bootnodes toggle
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
e87d75039e
commit
49d882ba29
|
@ -800,14 +800,14 @@
|
|||
:settings/bootnodes-enabled
|
||||
:<- [:multiaccount]
|
||||
:<- [:networks/current-network]
|
||||
(fn [{:keys [settings]} current-network]
|
||||
(fn [[{:keys [settings]} current-network]]
|
||||
(get-in settings [:bootnodes current-network])))
|
||||
|
||||
(re-frame/reg-sub
|
||||
:settings/network-bootnodes
|
||||
:<- [:multiaccount]
|
||||
:<- [:networks/current-network]
|
||||
(fn [multiaccount current-network]
|
||||
(fn [[multiaccount current-network]]
|
||||
(get-in multiaccount [:bootnodes current-network])))
|
||||
|
||||
(re-frame/reg-sub
|
||||
|
|
Loading…
Reference in New Issue