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
3f382488
Commit
3f382488
authored
Jun 24, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix argument placement on log message
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
parent
35d36b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wantmanager.go
wantmanager.go
+1
-1
No files found.
wantmanager.go
View file @
3f382488
...
@@ -109,7 +109,7 @@ func (pm *WantManager) SendBlock(ctx context.Context, env *engine.Envelope) {
...
@@ -109,7 +109,7 @@ func (pm *WantManager) SendBlock(ctx context.Context, env *engine.Envelope) {
msg
:=
bsmsg
.
New
(
false
)
msg
:=
bsmsg
.
New
(
false
)
msg
.
AddBlock
(
env
.
Block
)
msg
.
AddBlock
(
env
.
Block
)
log
.
Infof
(
"Sending block %s to %s"
,
env
.
Peer
,
env
.
Block
)
log
.
Infof
(
"Sending block %s to %s"
,
env
.
Block
,
env
.
Peer
)
err
:=
pm
.
network
.
SendMessage
(
ctx
,
env
.
Peer
,
msg
)
err
:=
pm
.
network
.
SendMessage
(
ctx
,
env
.
Peer
,
msg
)
if
err
!=
nil
{
if
err
!=
nil
{
log
.
Infof
(
"sendblock error: %s"
,
err
)
log
.
Infof
(
"sendblock error: %s"
,
err
)
...
...
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