mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-26 23:04:39 +00:00
Fixed incorrect height in p2p_sendheaders.py.
Extended sync_blocks timeout to 600 seconds.
This commit is contained in:
parent
c5fc61ba4b
commit
f5547ae451
@ -493,7 +493,7 @@ class SendHeadersTest(BitcoinTestFramework):
|
||||
|
||||
# Now announce a header that forks the last two blocks
|
||||
tip = blocks[0].sha256
|
||||
height -= 1
|
||||
height -= 2
|
||||
blocks = []
|
||||
|
||||
# Create extra blocks for later
|
||||
|
@ -358,7 +358,7 @@ def connect_nodes_bi(nodes, a, b):
|
||||
connect_nodes(nodes[a], b)
|
||||
connect_nodes(nodes[b], a)
|
||||
|
||||
def sync_blocks(rpc_connections, *, wait=1, timeout=60):
|
||||
def sync_blocks(rpc_connections, *, wait=1, timeout=600):
|
||||
"""
|
||||
Wait until everybody has the same tip.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user