diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-05-01 00:32:48 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-05-01 00:32:48 +0800 |
commit | 413ace37d3ba13a551f60e4089f2e0070c607970 (patch) | |
tree | 994c0dd7d0720dd771571b3ed056e99cf02fc1f1 /p2p/handshake_test.go | |
parent | 701591b403a8bae8c1dfb648a49d587968ff0c6a (diff) | |
download | dexon-413ace37d3ba13a551f60e4089f2e0070c607970.tar.gz dexon-413ace37d3ba13a551f60e4089f2e0070c607970.tar.zst dexon-413ace37d3ba13a551f60e4089f2e0070c607970.zip |
eth, p2p: rename trusted nodes to static, drop inbound extra slots
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 5e63e5c39..c22af7a9c 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, nil) + conn0, err := setupConn(fd0, prv0, hs0, node1, false) 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, nil) + conn1, err := setupConn(fd1, prv1, hs1, nil, false) if err != nil { t.Fatalf("inbound side error: %v", err) } |