From 16f11d49dfc1ab3e100373258b40329b4e60c073 Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Mon, 8 Jan 2024 13:41:13 +0100 Subject: [PATCH] fix: flaky TestEncryptionDecryption fixes: #4510 --- protocol/communities/community_description_encryption_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/communities/community_description_encryption_test.go b/protocol/communities/community_description_encryption_test.go index 982ee113b..4ab5e79a6 100644 --- a/protocol/communities/community_description_encryption_test.go +++ b/protocol/communities/community_description_encryption_test.go @@ -110,8 +110,8 @@ func (s *CommunityEncryptionDescriptionSuite) description() *protobuf.CommunityD ChatIds: []string{}, }, "channel-level-permission": &protobuf.CommunityTokenPermission{ - Id: "community-level-permission", - Type: protobuf.CommunityTokenPermission_BECOME_MEMBER, + Id: "channel-level-permission", + Type: protobuf.CommunityTokenPermission_CAN_VIEW_CHANNEL, TokenCriteria: []*protobuf.TokenCriteria{}, ChatIds: []string{types.EncodeHex(crypto.CompressPubkey(&s.identity.PublicKey)) + "channelB"}, },