mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
increase to 180 (#1354)
This commit is contained in:
parent
318019581a
commit
c42c5312d7
@ -596,7 +596,7 @@ class FullNode:
|
|||||||
raise ValueError("Not performing sync, already caught up.")
|
raise ValueError("Not performing sync, already caught up.")
|
||||||
|
|
||||||
request = full_node_protocol.RequestProofOfWeight(heaviest_peak_height, heaviest_peak_hash)
|
request = full_node_protocol.RequestProofOfWeight(heaviest_peak_height, heaviest_peak_hash)
|
||||||
response = await weight_proof_peer.request_proof_of_weight(request, timeout=90)
|
response = await weight_proof_peer.request_proof_of_weight(request, timeout=180)
|
||||||
|
|
||||||
# Disconnect from this peer, because they have not behaved properly
|
# Disconnect from this peer, because they have not behaved properly
|
||||||
if response is None or not isinstance(response, full_node_protocol.RespondProofOfWeight):
|
if response is None or not isinstance(response, full_node_protocol.RespondProofOfWeight):
|
||||||
|
Loading…
Reference in New Issue
Block a user