From 26adf7395b8d6aef289e912bafc45cba66683881 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Mon, 26 Dec 2016 02:52:49 -0800 Subject: [PATCH] identify: make agent version mutable --- p2p/protocol/identify/id.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p2p/protocol/identify/id.go b/p2p/protocol/identify/id.go index ebd0024..867664b 100644 --- a/p2p/protocol/identify/id.go +++ b/p2p/protocol/identify/id.go @@ -30,7 +30,8 @@ const ID = "/ipfs/id/1.0.0" // LibP2PVersion holds the current protocol version for a client running this code // TODO(jbenet): fix the versioning mess. const LibP2PVersion = "ipfs/0.1.0" -const ClientVersion = "go-libp2p/3.3.4" + +var ClientVersion = "go-libp2p/3.3.4" // IDService is a structure that implements ProtocolIdentify. // It is a trivial service that gives the other peer some -- GitLab