def reset_pinserver(self, reset_details, reset_certificate):
        """
        RPC call to reset any formerly overridden pinserver details to their defaults.

        Parameters
        ----------
        reset_details : bool, optional
            If set, any overridden urls and pubkey are reset to their defaults.

        reset_certificate : bool, optional
            If set, any additional certificate is reset (to None).

        Returns
        -------
        bool
            True on success.
        """
        params = {'reset_details': reset_details,
                  'reset_certificate': reset_certificate}
        return self._jadeRpc('update_pinserver', params)

        RPC call to reset any formerly overridden pinserver details to their defaults.

        Parameters
        ----------
        reset_details : bool, optional
            If set, any overridden urls and pubkey are reset to their defaults.

        reset_certificate : bool, optional
            If set, any additional certificate is reset (to None).

        Returns
        -------
        bool
            True on success.
        
electrum/plugins/jade/jadepy/jade.py