File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,6 @@ def set_test_params(self):
3131 self .disable_mocktime = True
3232 self .num_nodes = 1
3333
34- def setup_chain (self ):
35- # This test operates under the assumption that the adjusted time is well ahead of block
36- # time.
37- #
38- # By default when we setup a new chain, we also adjust the mocktime (this is not done in
39- # Bitcoin's test suite), which violates this test's assumption and causes it to fail. We
40- # remedy this by ensuring the test's assumptions are met (i.e. we don't adjust mocktime)
41- #
42- self .log .info ("Initializing test directory " + self .options .tmpdir )
43- if self .setup_clean_chain :
44- self ._initialize_chain_clean ()
45- else :
46- self ._initialize_chain ()
47-
4834 def announce_random_block (self , peers ):
4935 new_block_announcement = msg_inv (inv = [CInv (MSG_BLOCK , random .randrange (1 << 256 ))])
5036 for p in peers :
You can’t perform that action at this time.
0 commit comments