aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 601febc..f7c5266 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -145,6 +145,8 @@ pub(crate) struct AppState {
pub(crate) protocol_writers: Arc<std::collections::HashSet<String>>,
/// The swarm's first users, recorded by a genesis node (`NodeConfig::first_users`).
pub(crate) first_users: Arc<crate::access::registry::FirstUsers>,
+ /// The swarm's policy, recorded by a genesis node (`NodeConfig::first_policy`).
+ pub(crate) first_policy: Option<serde_json::Value>,
/// Signs the tokens this node issues and the changes it commits
/// (`NodeConfig::node_key`).
pub(crate) node_key: Option<Arc<crate::identity::NodeKey>>,