func NewPublicCoin(p *Params) (*PublicCoin, error) {
	if !p.Initialized {
		return nil, errors.New("Params are not initialized")
	}

	return &PublicCoin{denomination: DenomError, params: p}, nil
}
// NewPublicCoin initializes a new public coin without a
// denomination.
NewPublicCoin initializes a new public coin without a
denomination.
// NewPublicCoin initializes a new public coin without a // denomination .
func NewPublicCoin(p *Params) (*PublicCoin, error) {
	if !p.Initialized {
		return nil, errors.New("Params are not initialized")
	}
	return &PublicCoin{denomination: DenomError, params: p}, nil
}
func NewPublicCoin ( p * Params ) ( * PublicCoin , error ) { if ! p . Initialized { return nil , errors . New ( " " ) } return & PublicCoin { denomination : DenomError , params : p } , nil }
NewPublicCoin initializes a new public coin without a
denomination.
NewPublicCoin initializes a new public coin without a denomination .