You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the staking miner is using the trait MinerConfig and MinerConfig::solution_weight doesn't take &self it's not possible to feed an RPC client in there without using a global variable.
This requires refactoring the MinerConfig trait to take &self perhaps it could be possible to adapt this trait accept both sync and async variants of solution_weight as well.
The text was updated successfully, but these errors were encountered:
Because the
staking miner
is using the traitMinerConfig
andMinerConfig::solution_weight
doesn't take&self
it's not possible to feed an RPC client in there without using a global variable.This requires refactoring the
MinerConfig trait
to take&self
perhaps it could be possible to adapt this trait accept bothsync
andasync
variants ofsolution_weight
as well.The text was updated successfully, but these errors were encountered: