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
67699f24
Commit
67699f24
authored
May 19, 2015
by
Jeromy
Committed by
Juan Batiz-Benet
May 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warning -> notice
parent
c3aed70f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wantmanager.go
wantmanager.go
+2
-2
No files found.
wantmanager.go
View file @
67699f24
...
...
@@ -96,7 +96,7 @@ func (pm *WantManager) SendBlock(ctx context.Context, env *engine.Envelope) {
log
.
Infof
(
"Sending block %s to %s"
,
env
.
Peer
,
env
.
Block
)
err
:=
pm
.
network
.
SendMessage
(
ctx
,
env
.
Peer
,
msg
)
if
err
!=
nil
{
log
.
Error
(
err
)
log
.
Noticef
(
"sendblock error: %s"
,
err
)
}
}
...
...
@@ -158,7 +158,7 @@ func (mq *msgQueue) runQueue(ctx context.Context) {
// send wantlist updates
err
=
mq
.
network
.
SendMessage
(
ctx
,
mq
.
p
,
wlm
)
if
err
!=
nil
{
log
.
Error
(
"bitswap send error: "
,
err
)
log
.
Noticef
(
"bitswap send error:
%s
"
,
err
)
// TODO: what do we do if this fails?
}
case
<-
mq
.
done
:
...
...
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