Skip to content

Commit

Permalink
disable should request
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed May 26, 2024
1 parent ffc844d commit 3453a59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ func (cn *Peer) mustRequest(r RequestIndex) bool {
}

func (cn *Peer) request(r RequestIndex) (more bool, err error) {
if err := cn.shouldRequest(r); err != nil {
panic(err)
}
//if err := cn.shouldRequest(r); err != nil {
// panic(err)
//}
if cn.requestState.Requests.Contains(r) {
return true, nil
}
Expand Down

0 comments on commit 3453a59

Please sign in to comment.