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-dms3
Commits
2f934e8c
Commit
2f934e8c
authored
9 years ago
by
Jeromy
Committed by
Juan Batiz-Benet
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
warning -> notice
parent
b71a0ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
exchange/bitswap/wantmanager.go
exchange/bitswap/wantmanager.go
+2
-2
No files found.
exchange/bitswap/wantmanager.go
View file @
2f934e8c
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
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