mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Cleanup unused archive_mode param (#1886)
This commit is contained in:
parent
c8afc800ff
commit
d3b491674a
2 changed files with 0 additions and 4 deletions
|
@ -42,7 +42,6 @@ use util::OneTime;
|
|||
/// implementations.
|
||||
pub struct NetToChainAdapter {
|
||||
sync_state: Arc<SyncState>,
|
||||
archive_mode: bool,
|
||||
chain: Weak<chain::Chain>,
|
||||
tx_pool: Arc<RwLock<pool::TransactionPool>>,
|
||||
verifier_cache: Arc<RwLock<VerifierCache>>,
|
||||
|
@ -358,7 +357,6 @@ impl NetToChainAdapter {
|
|||
/// Construct a new NetToChainAdapter instance
|
||||
pub fn new(
|
||||
sync_state: Arc<SyncState>,
|
||||
archive_mode: bool,
|
||||
chain: Arc<chain::Chain>,
|
||||
tx_pool: Arc<RwLock<pool::TransactionPool>>,
|
||||
verifier_cache: Arc<RwLock<VerifierCache>>,
|
||||
|
@ -366,7 +364,6 @@ impl NetToChainAdapter {
|
|||
) -> NetToChainAdapter {
|
||||
NetToChainAdapter {
|
||||
sync_state,
|
||||
archive_mode,
|
||||
chain: Arc::downgrade(&chain),
|
||||
tx_pool,
|
||||
verifier_cache,
|
||||
|
|
|
@ -159,7 +159,6 @@ impl Server {
|
|||
|
||||
let net_adapter = Arc::new(NetToChainAdapter::new(
|
||||
sync_state.clone(),
|
||||
archive_mode,
|
||||
shared_chain.clone(),
|
||||
tx_pool.clone(),
|
||||
verifier_cache.clone(),
|
||||
|
|
Loading…
Reference in a new issue