Refactor and servercard ajustments
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2023-11-27 00:31:43 +01:00
parent 432f449558
commit 420b7d0af0
5 changed files with 135 additions and 125 deletions

View File

@ -62,7 +62,7 @@ func TestEndToEnd(t *testing.T) {
ReceivedContact.LookupPublicKey = FirstFriendLookupKp.Public
ReceivedContact.InvitationId = myContactCard.InvitationId
FriendServer1KP := meowlib.NewKeyPair()
FriendServer1 := meowlib.ServerCard{Name: "FriendServer1", Url: "http://myfriend.org/meow/", PublicKey: FriendServer1KP.Public, Description: "Fancy description", ConfidenceLevel: 1}
FriendServer1 := meowlib.ServerCard{Name: "FriendServer1", Url: "http://myfriend.org/meow/", PublicKey: FriendServer1KP.Public, Description: "Fancy description"}
ReceivedContact.PullServers = append(ReceivedContact.PullServers, &FriendServer1)
///////////////////////////////////////////////////////