Avoid updating the state of `allowed_requests` if no block requests are sent
Previously, the state of `allowed_requests` will always be reset to the default value even if there are no new block requests in the end. This could cause an edge cause that `peer_block_request()` will early return next time when no ongoing block requests in fact.
parent
9079f36b
Please register or sign in to comment