/// Add the neurons created for GTC accounts to Governance's collection
/// of neurons
Add the neurons created for GTC accounts to Governance's collection
of neurons
Add the neurons created for GTC accounts to Governance ' s collection of neurons
pub fn add_gtc_neurons(&mut self, neurons: Vec<Neuron>) -> &mut Self {
        for neuron in neurons {
            let id = neuron.id.clone().expect("GTC neuron missing ID").id;
            assert_eq!(
                self.proto.neurons.insert(id, neuron),
                None,
                "There is more than one neuron with the same id"
            );
        }
        self
    }
pub fn add_gtc_neurons ( & mut self , neurons : Vec < Neuron > ) -> & mut Self { for neuron in neurons { let id = neuron . id . clone ( ) . expect ( " " ) . id ; assert_eq ! ( self proto neurons insert ( id neuron ) None " " ) ; } self }
Add the neurons created for GTC accounts to Governance's collection
of neurons
Add the neurons created for GTC accounts to Governance ' s collection of neurons
&mut self
neurons
Vec<Neuron>