mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Fix minchainwork.py
This commit is contained in:
parent
9a96c06057
commit
438a972a72
@ -32,6 +32,8 @@ class MinimumChainWorkTest(BitcoinTestFramework):
|
|||||||
self.node_min_work = [0, 101, 101]
|
self.node_min_work = [0, 101, 101]
|
||||||
|
|
||||||
def setup_network(self):
|
def setup_network(self):
|
||||||
|
# Force CanDirectFetch to return false (otherwise nMinimumChainWork is ignored)
|
||||||
|
self.mocktime += 21 * 2.6 * 60
|
||||||
# This test relies on the chain setup being:
|
# This test relies on the chain setup being:
|
||||||
# node0 <- node1 <- node2
|
# node0 <- node1 <- node2
|
||||||
# Before leaving IBD, nodes prefer to download blocks from outbound
|
# Before leaving IBD, nodes prefer to download blocks from outbound
|
||||||
|
Loading…
Reference in New Issue
Block a user