mirror of
https://github.com/yggdrasil-network/yggquic.git
synced 2025-05-19 16:35:09 +03:00
Refactoring
This commit is contained in:
parent
ee4c89a84c
commit
3a9cdfd9fd
2 changed files with 93 additions and 46 deletions
|
@ -38,11 +38,11 @@ func TestQUICOverYggdrasil(t *testing.T) {
|
|||
go node2.HandleConn(node1.PublicKey(), r, 0) // nolint:errcheck
|
||||
|
||||
// Create QUIC over Yggdrasil endpoints.
|
||||
quic1, err := New(node1, *cfg1.Certificate)
|
||||
quic1, err := New(node1, *cfg1.Certificate, nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
quic2, err := New(node2, *cfg2.Certificate)
|
||||
quic2, err := New(node2, *cfg2.Certificate, nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue