Skip to content

Commit

Permalink
fix variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Nov 17, 2014
1 parent 0de12b5 commit 9f4127a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
exchange "github.com/jbenet/go-ipfs/exchange"
bitswap "github.com/jbenet/go-ipfs/exchange/bitswap"
bsnet "github.com/jbenet/go-ipfs/exchange/bitswap/network"
mount "github.com/jbenet/go-ipfs/fuse/mount"
merkledag "github.com/jbenet/go-ipfs/merkledag"
namesys "github.com/jbenet/go-ipfs/namesys"
inet "github.com/jbenet/go-ipfs/net"
Expand All @@ -28,7 +29,6 @@ import (
routing "github.com/jbenet/go-ipfs/routing"
dht "github.com/jbenet/go-ipfs/routing/dht"
u "github.com/jbenet/go-ipfs/util"
mount "github.com/jbenet/go-ipfs/fuse/mount"
ctxc "github.com/jbenet/go-ipfs/util/ctxcloser"
)

Expand Down Expand Up @@ -218,7 +218,7 @@ func initIdentity(cfg *config.Identity, peers peer.Peerstore, online bool) (peer
return nil, err
}

peer.SetVersions(handshake.ClientVersion, handshake.IpfsVersion.String())
self.SetVersions(handshake.ClientVersion, handshake.IpfsVersion.String())

// when not online, don't need to parse private keys (yet)
if online {
Expand Down

0 comments on commit 9f4127a

Please sign in to comment.