aboutsummaryrefslogtreecommitdiffstats
path: root/src/state
diff options
context:
space:
mode:
Diffstat (limited to 'src/state')
-rw-r--r--src/state/host.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state/host.rs b/src/state/host.rs
index 771884e..4da5836 100644
--- a/src/state/host.rs
+++ b/src/state/host.rs
@@ -305,6 +305,11 @@ impl Host for AppState {
self.local_id().to_owned()
}
+ #[cfg(feature = "federation")]
+ fn holding(&self) -> Arc<crate::federation::held::Holding> {
+ Arc::clone(&self.holding)
+ }
+
fn current_epoch(&self) -> Epoch {
self.local_epoch()
}