You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: party_i.rs
    path of file: ./repos/multi-party-ecdsa/src/protocols/multi_party_ecdsa/gg_2020
    
    the code of the file until where you have to start completion: #![allow(non_snake_case)]

/*
    Multi-party ECDSA

    Copyright 2018 by Kzen Networks

    This file is part of Multi
    
    pub fn phase5_check_R_dash_sum(R_dash_vec: &[Point<Secp256k1>]) -> Result<(), Error> {
        let sum = R_dash_vec
            .iter()
            .fold(Point::generator().to_point(), |acc, x| acc + x);
        match sum - &Point::generator().to_point() == Point::generator().to_point() {
            true => Ok(()),
            false => Err(Phase5BadSum),
        }
    }