diff options
Diffstat (limited to 'p2p/client_identity_test.go')
-rw-r--r-- | p2p/client_identity_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/client_identity_test.go b/p2p/client_identity_test.go index 40b0e6f5e..7248a7b1a 100644 --- a/p2p/client_identity_test.go +++ b/p2p/client_identity_test.go @@ -7,7 +7,7 @@ import ( ) func TestClientIdentity(t *testing.T) { - clientIdentity := NewSimpleClientIdentity("Ethereum(G)", "0.5.16", "test", "pubkey") + clientIdentity := NewSimpleClientIdentity("Ethereum(G)", "0.5.16", "test", []byte("pubkey")) clientString := clientIdentity.String() expected := fmt.Sprintf("Ethereum(G)/v0.5.16/test/%s/%s", runtime.GOOS, runtime.Version()) if clientString != expected { |