fix variable naming
Jeromy committed
Nov 16, 2014 at 17:12 UTC
9f4127aefae827533c0534ef2addad49815b4c0d
1 file changed
+2
-2
core/core.go
+2
-2
@@ -16,6 +16,7 @@ import (
16
exchange "github.com/jbenet/go-ipfs/exchange"
17
bitswap "github.com/jbenet/go-ipfs/exchange/bitswap"
18
bsnet "github.com/jbenet/go-ipfs/exchange/bitswap/network"
19
+ mount "github.com/jbenet/go-ipfs/fuse/mount"
20
merkledag "github.com/jbenet/go-ipfs/merkledag"
21
namesys "github.com/jbenet/go-ipfs/namesys"
22
inet "github.com/jbenet/go-ipfs/net"
@@ -28,7 +29,6 @@ import (
29
routing "github.com/jbenet/go-ipfs/routing"
30
dht "github.com/jbenet/go-ipfs/routing/dht"
31
u "github.com/jbenet/go-ipfs/util"
31
- mount "github.com/jbenet/go-ipfs/fuse/mount"
32
ctxc "github.com/jbenet/go-ipfs/util/ctxcloser"
33
)
34
@@ -218,7 +218,7 @@ func initIdentity(cfg *config.Identity, peers peer.Peerstore, online bool) (peer
218
return nil, err
219
}
220
221
- peer.SetVersions(handshake.ClientVersion, handshake.IpfsVersion.String())
221
+ self.SetVersions(handshake.ClientVersion, handshake.IpfsVersion.String())
222
223
// when not online, don't need to parse private keys (yet)
224
if online {