Remove zombie code from experiments

This commit is contained in:
Icaro Motta 2024-01-26 12:28:23 -03:00 committed by Andrea Maria Piana
parent 4f8a66fc07
commit 105703e2eb
1 changed files with 0 additions and 12 deletions

View File

@ -2185,18 +2185,6 @@ func (m *Manager) CheckPermissionToJoin(id []byte, addresses []gethcommon.Addres
} }
func (m *Manager) GetTokenPermissions(communityID types.HexBytes) (map[string]*CommunityTokenPermission, error) {
community, err := m.GetByID(communityID)
if err != nil {
return nil, err
}
if community == nil {
return nil, errors.Errorf("community does not exist ID='%s'", communityID)
}
return community.TokenPermissions(), nil
}
type PermissionedBalance struct { type PermissionedBalance struct {
Type protobuf.CommunityTokenType `json:"type"` Type protobuf.CommunityTokenType `json:"type"`
Symbol string `json:"symbol"` Symbol string `json:"symbol"`