pub fn sign_script_hash(
    script_hash: JsValue,
    privkey: &PrivateKey
) -> Result<String, Error>