Fix bootnodes toggle

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
Andrea Maria Piana 2019-09-11 13:22:47 +02:00 committed by yenda
parent e87d75039e
commit 49d882ba29
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 2 additions and 2 deletions

View File

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