diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-04 21:20:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-04 21:20:16 +0800 |
commit | 09841b1c9b2553a4572590128580df37c8fa83ad (patch) | |
tree | 42a846801bde7d8f7edc5ec07ccbba7806261128 /p2p/client_identity.go | |
parent | bd0c267cbe9db805b5a272d29ef8860c62ddafe5 (diff) | |
download | dexon-09841b1c9b2553a4572590128580df37c8fa83ad.tar dexon-09841b1c9b2553a4572590128580df37c8fa83ad.tar.gz dexon-09841b1c9b2553a4572590128580df37c8fa83ad.tar.bz2 dexon-09841b1c9b2553a4572590128580df37c8fa83ad.tar.lz dexon-09841b1c9b2553a4572590128580df37c8fa83ad.tar.xz dexon-09841b1c9b2553a4572590128580df37c8fa83ad.tar.zst dexon-09841b1c9b2553a4572590128580df37c8fa83ad.zip |
Cleaned up some of that util
Diffstat (limited to 'p2p/client_identity.go')
-rw-r--r-- | p2p/client_identity.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/client_identity.go b/p2p/client_identity.go index bc865b63b..f15fd01bf 100644 --- a/p2p/client_identity.go +++ b/p2p/client_identity.go @@ -17,10 +17,10 @@ type SimpleClientIdentity struct { customIdentifier string os string implementation string - pubkey string + pubkey []byte } -func NewSimpleClientIdentity(clientIdentifier string, version string, customIdentifier string, pubkey string) *SimpleClientIdentity { +func NewSimpleClientIdentity(clientIdentifier string, version string, customIdentifier string, pubkey []byte) *SimpleClientIdentity { clientIdentity := &SimpleClientIdentity{ clientIdentifier: clientIdentifier, version: version, |