Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-bitswap
Commits
014813e8
Commit
014813e8
authored
Oct 27, 2014
by
Brian Tiger Chow
Committed by
Juan Batiz-Benet
Nov 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(bitswap) rename variable to 'routing'
parent
85982228
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bitswap.go
bitswap.go
+2
-2
No files found.
bitswap.go
View file @
014813e8
...
...
@@ -26,7 +26,7 @@ var log = u.Logger("bitswap")
// provided NetMessage service.
// Runs until context is cancelled
func
NetMessageSession
(
ctx
context
.
Context
,
p
peer
.
Peer
,
net
inet
.
Network
,
srv
inet
.
Service
,
directory
bsnet
.
Routing
,
net
inet
.
Network
,
srv
inet
.
Service
,
routing
bsnet
.
Routing
,
d
ds
.
ThreadSafeDatastore
,
nice
bool
)
exchange
.
Interface
{
networkAdapter
:=
bsnet
.
NetMessageAdapter
(
srv
,
net
,
nil
)
...
...
@@ -44,7 +44,7 @@ func NetMessageSession(ctx context.Context, p peer.Peer,
blockstore
:
blockstore
.
NewBlockstore
(
d
),
notifications
:
notif
,
strategy
:
strategy
.
New
(
nice
),
routing
:
directory
,
routing
:
routing
,
sender
:
networkAdapter
,
wantlist
:
u
.
NewKeySet
(),
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment