git.delta.rocks / unique-network / refs/commits / bf956bfa1577

difftreelog

fix app promotion rpc feature gate

Daniel Shiposha2022-12-13parent: #2c586ed.patch.diff
in: master

1 file changed

modifiednode/rpc/src/lib.rsdiffbeforeafterboth
176 };176 };
177 use uc_rpc::{UniqueApiServer, Unique};177 use uc_rpc::{UniqueApiServer, Unique};
178178
179 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]179 #[cfg(not(feature = "unique-runtime"))]
180 use uc_rpc::{AppPromotionApiServer, AppPromotion};180 use uc_rpc::{AppPromotionApiServer, AppPromotion};
181181
182 #[cfg(not(feature = "unique-runtime"))]182 #[cfg(not(feature = "unique-runtime"))]
238238
239 io.merge(Unique::new(client.clone()).into_rpc())?;239 io.merge(Unique::new(client.clone()).into_rpc())?;
240240
241 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]241 #[cfg(not(feature = "unique-runtime"))]
242 io.merge(AppPromotion::new(client.clone()).into_rpc())?;242 io.merge(AppPromotion::new(client.clone()).into_rpc())?;
243243
244 #[cfg(not(feature = "unique-runtime"))]244 #[cfg(not(feature = "unique-runtime"))]