diff --git a/cita-chain/core/src/libchain/chain.rs b/cita-chain/core/src/libchain/chain.rs index aef66482b..86a2fc4cb 100644 --- a/cita-chain/core/src/libchain/chain.rs +++ b/cita-chain/core/src/libchain/chain.rs @@ -375,6 +375,8 @@ impl Chain { state_db: state_db, polls_filter: Arc::new(Mutex::new(PollManager::default())), nodes: RwLock::new(Vec::new()), + // need to be cautious here + // because it's not read from the config file block_interval: RwLock::new(3000), block_gas_limit: AtomicUsize::new(18_446_744_073_709_551_615), account_gas_limit: RwLock::new(ProtoAccountGasLimit::new()),