diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-05-04 18:59:51 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-05-04 18:59:51 +0800 |
commit | 4accc187d5cf6a100d6c10c0e0f35780f52871a0 (patch) | |
tree | a106654ceccede0c8bcd1fb9402c4eec16bbb6e8 /p2p/handshake_test.go | |
parent | 2382da4179fa290582523f598e1be78469cdf274 (diff) | |
download | go-tangerine-4accc187d5cf6a100d6c10c0e0f35780f52871a0.tar.gz go-tangerine-4accc187d5cf6a100d6c10c0e0f35780f52871a0.tar.zst go-tangerine-4accc187d5cf6a100d6c10c0e0f35780f52871a0.zip |
eth, p2p: add trusted node list beside static list
Diffstat (limited to 'p2p/handshake_test.go')
-rw-r--r-- | p2p/handshake_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/handshake_test.go b/p2p/handshake_test.go index c22af7a9c..5e63e5c39 100644 --- a/p2p/handshake_test.go +++ b/p2p/handshake_test.go @@ -143,7 +143,7 @@ func TestSetupConn(t *testing.T) { done := make(chan struct{}) go func() { defer close(done) - conn0, err := setupConn(fd0, prv0, hs0, node1, false) + conn0, err := setupConn(fd0, prv0, hs0, node1, false, nil) if err != nil { t.Errorf("outbound side error: %v", err) return @@ -156,7 +156,7 @@ func TestSetupConn(t *testing.T) { } }() - conn1, err := setupConn(fd1, prv1, hs1, nil, false) + conn1, err := setupConn(fd1, prv1, hs1, nil, false, nil) if err != nil { t.Fatalf("inbound side error: %v", err) } |