Include number in eth_getWork.

This commit is contained in:
Gav Wood
2016-06-29 15:43:34 +02:00
committed by arkpar
parent b3f37f3cb4
commit dc24448900
2 changed files with 2 additions and 3 deletions

View File

@@ -128,14 +128,13 @@ impl Miner {
transaction_queue: Mutex::new(TransactionQueue::with_limits(options.tx_queue_size, options.tx_gas_limit)),
sealing_enabled: AtomicBool::new(options.force_sealing || !options.new_work_notify.is_empty()),
next_allowed_reseal: Mutex::new(Instant::now()),
options: options,
sealing_block_last_request: Mutex::new(0),
sealing_work: Mutex::new(UsingQueue::new(options.work_queue_size)),
options: options,
gas_range_target: RwLock::new((U256::zero(), U256::zero())),
author: RwLock::new(Address::default()),
extra_data: RwLock::new(Vec::new()),
accounts: accounts,
options: options,
spec: spec,
work_poster: work_poster,
})