func (a *AccumulatorMap) Accumulate(p PublicCoin) error {
	denom := p.denomination

	if denom == DenomError {
		return errors.New("attempted to accumulate an invalid pubcoin")
	}

	return a.accs[denom].Accumulate(&p)
}
// Accumulate adds a zerocoin to the accumulator of its denomination
Accumulate adds a zerocoin to the accumulator of its denomination
// Accumulate adds a zerocoin to the accumulator of its denomination
func (a *AccumulatorMap) Accumulate(p PublicCoin) error {
	denom := p.denomination
	if denom == DenomError {
		return errors.New("attempted to accumulate an invalid pubcoin")
	}
	return a.accs[denom].Accumulate(&p)
}
func ( a * AccumulatorMap ) Accumulate ( p PublicCoin ) error { denom := p . denomination if denom == DenomError { return errors . New ( " " ) } return a . accs [ denom ] . Accumulate ( & p ) }
Accumulate adds a zerocoin to the accumulator of its denomination
Accumulate adds a zerocoin to the accumulator of its denomination