pub fn check_miner_address(miner_address: Option<Address>) -> RpcResult<Address>
Returns the miner address, or an error if it is invalid.