|
|
@@ -143,17 +143,17 @@ func TestCwtchPeerIntegration(t *testing.T) { |
|
|
|
// ***** Peer setup ***** |
|
|
|
|
|
|
|
fmt.Println("Creating Alice...") |
|
|
|
alice := peer.NewCwtchPeer("Alice","alicepass") |
|
|
|
alice := peer.NewCwtchPeer("Alice", "alicepass") |
|
|
|
go alice.Listen() |
|
|
|
fmt.Println("Alice created:", alice.GetProfile().Onion) |
|
|
|
|
|
|
|
fmt.Println("Creating Bob...") |
|
|
|
bob := peer.NewCwtchPeer("Bob","bobpass") |
|
|
|
bob := peer.NewCwtchPeer("Bob", "bobpass") |
|
|
|
go bob.Listen() |
|
|
|
fmt.Println("Bob created:", bob.GetProfile().Onion) |
|
|
|
|
|
|
|
fmt.Println("Creating Carol...") |
|
|
|
carol := peer.NewCwtchPeer("Carol","carolpass") |
|
|
|
carol := peer.NewCwtchPeer("Carol", "carolpass") |
|
|
|
go carol.Listen() |
|
|
|
fmt.Println("Carol created:", carol.GetProfile().Onion) |
|
|
|
|
|
|
|