aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/client_identity_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-06 00:12:19 +0800
committerobscuren <geffobscura@gmail.com>2015-01-06 00:12:19 +0800
commit66b05433b6c87a6d31d9508e3e930e5199dbfcde (patch)
treeb898711590694cfaa6f10dbc2a4c8591232954ef /p2p/client_identity_test.go
parentb0854fbff5c3d588134f577918a39d08002235dc (diff)
parent6abf8ef78f1474fdeb7a6a6ce084bf994cc055f2 (diff)
downloaddexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.tar
dexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.tar.gz
dexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.tar.bz2
dexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.tar.lz
dexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.tar.xz
dexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.tar.zst
dexon-66b05433b6c87a6d31d9508e3e930e5199dbfcde.zip
Merge branch 'ethersphere-eth.blockpool' into poc8
Diffstat (limited to 'p2p/client_identity_test.go')
-rw-r--r--p2p/client_identity_test.go2
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 {