Skip to content

Commit

Permalink
Fix web-client compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Mar 28, 2023
1 parent 63fe92c commit 52b494b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions consensus/src/messages/handlers.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::cmp;
#[cfg(feature = "full")]
use std::{cmp, sync::Arc};
use std::sync::Arc;

#[cfg(feature = "full")]
use parking_lot::RwLock;
Expand All @@ -12,7 +13,6 @@ use nimiq_blockchain::{Blockchain, CHUNK_SIZE};
use nimiq_blockchain_interface::{AbstractBlockchain, Direction};
use nimiq_blockchain_proxy::BlockchainProxy;
use nimiq_network_interface::{network::Network, request::Handle};
#[cfg(feature = "full")]
use nimiq_primitives::policy::Policy;

use crate::messages::*;
Expand Down
3 changes: 2 additions & 1 deletion consensus/src/sync/syncer_proxy.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#[cfg(feature = "full")]
use std::cmp::max;
use std::{
cmp::max,
pin::Pin,
sync::Arc,
task::{Context, Poll},
Expand Down

0 comments on commit 52b494b

Please sign in to comment.