added an invitation message
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2024-01-01 13:50:00 +01:00
parent 6788487368
commit 25cf1808e3
4 changed files with 95 additions and 82 deletions

View File

@ -30,7 +30,7 @@ func TestEndToEnd(t *testing.T) {
// Create an invitation for a friend, I want him/her to know me as Bender //
////////////////////////////////////////////////////////////////////////////
fmt.Println("Creating an invitation for the first friend...")
peer, err := Me.InvitePeer("Bender", "myfirstfriend", []int{1, 2})
peer, err := Me.InvitePeer("Bender", "myfirstfriend", []int{1, 2}, "welcome, it's me!")
if err != nil {
println(err)
}