Fixing compilation without ui feature (#2207)
This commit is contained in:
parent
52a69d19e6
commit
df61b1b328
@ -19,11 +19,6 @@ use io::PanicHandler;
|
||||
use rpc_apis;
|
||||
use helpers::replace_home;
|
||||
|
||||
#[cfg(feature = "dapps")]
|
||||
pub use ethcore_dapps::Server as WebappServer;
|
||||
#[cfg(not(feature = "dapps"))]
|
||||
pub struct WebappServer;
|
||||
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
pub struct Configuration {
|
||||
pub enabled: bool,
|
||||
@ -77,6 +72,7 @@ pub fn new(configuration: Configuration, deps: Dependencies) -> Result<Option<We
|
||||
}
|
||||
|
||||
pub use self::server::setup_dapps_server;
|
||||
pub use self::server::WebappServer;
|
||||
|
||||
#[cfg(not(feature = "dapps"))]
|
||||
mod server {
|
||||
|
Loading…
Reference in New Issue
Block a user