Commit 33ae9d43 authored by Brian Tiger Chow's avatar Brian Tiger Chow

misc(bitswap/strat) rm noisy message

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent aa4ba09b
...@@ -71,7 +71,6 @@ func (s *strategist) ShouldSendBlockToPeer(k u.Key, p peer.Peer) bool { ...@@ -71,7 +71,6 @@ func (s *strategist) ShouldSendBlockToPeer(k u.Key, p peer.Peer) bool {
// Dont resend blocks within a certain time period // Dont resend blocks within a certain time period
t, ok := ledger.sentToPeer[k] t, ok := ledger.sentToPeer[k]
if ok && t.Add(resendTimeoutPeriod).After(time.Now()) { if ok && t.Add(resendTimeoutPeriod).After(time.Now()) {
log.Error("Prevented block resend!")
return false return false
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment