Remove unneeded field.
This commit is contained in:
parent
559e01ea84
commit
96617533c8
@ -40,8 +40,6 @@ pub struct BlockChainConfig {
|
|||||||
pub pref_cache_size: usize,
|
pub pref_cache_size: usize,
|
||||||
/// Maximum cache size in bytes.
|
/// Maximum cache size in bytes.
|
||||||
pub max_cache_size: usize,
|
pub max_cache_size: usize,
|
||||||
/// Prefer journal rather than archive.
|
|
||||||
pub prefer_journal: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for BlockChainConfig {
|
impl Default for BlockChainConfig {
|
||||||
@ -49,7 +47,6 @@ impl Default for BlockChainConfig {
|
|||||||
BlockChainConfig {
|
BlockChainConfig {
|
||||||
pref_cache_size: 1 << 14,
|
pref_cache_size: 1 << 14,
|
||||||
max_cache_size: 1 << 20,
|
max_cache_size: 1 << 20,
|
||||||
prefer_journal: false,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user