Skip to content

Commit f596c43

Browse files
committed
fix(aggregator): missing gating behind 'future_dmq' feature
1 parent 4c243a9 commit f596c43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mithril-aggregator/src/configuration.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use mithril_common::entities::{
1515
SignedEntityTypeDiscriminants,
1616
};
1717
use mithril_common::{AggregateSignatureType, CardanoNetwork, StdResult};
18+
#[cfg(feature = "future_dmq")]
1819
use mithril_dmq::DmqNetwork;
1920
use mithril_doc::{Documenter, DocumenterDefault, StructDoc};
2021
use mithril_era::adapters::EraReaderAdapterType;
@@ -763,6 +764,7 @@ impl ConfigurationSource for ServeCommandConfiguration {
763764
self.network_magic
764765
}
765766

767+
#[cfg(feature = "future_dmq")]
766768
fn dmq_network_magic(&self) -> Option<u64> {
767769
self.dmq_network_magic
768770
}

0 commit comments

Comments
 (0)