Merge remote-tracking branch 'parity/should-seal' into auth-round
This commit is contained in:
commit
a44e2b0497
@ -224,7 +224,7 @@ impl Miner {
|
|||||||
|
|
||||||
/// Creates new instance of a miner Arc.
|
/// Creates new instance of a miner Arc.
|
||||||
pub fn new(options: MinerOptions, gas_pricer: GasPricer, spec: &Spec, accounts: Option<Arc<AccountProvider>>) -> Arc<Miner> {
|
pub fn new(options: MinerOptions, gas_pricer: GasPricer, spec: &Spec, accounts: Option<Arc<AccountProvider>>) -> Arc<Miner> {
|
||||||
Arc::new_raw(Miner::new(options, gas_pricer, spec, accounts)
|
Arc::new(Miner::new_raw(options, gas_pricer, spec, accounts))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn forced_sealing(&self) -> bool {
|
fn forced_sealing(&self) -> bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user