@@ -578,7 +578,6 @@ def test_standardness_v0(self):
578
578
# Mine it on test_node to create the confirmed output.
579
579
test_transaction_acceptance (self .nodes [0 ], self .test_node , p2sh_tx , with_witness = True , accepted = True )
580
580
self .generate (self .nodes [0 ], 1 )
581
- self .sync_blocks ()
582
581
583
582
# Now test standardness of v0 P2WSH outputs.
584
583
# Start by creating a transaction with two outputs.
@@ -651,7 +650,6 @@ def test_standardness_v0(self):
651
650
test_transaction_acceptance (self .nodes [0 ], self .test_node , tx3 , with_witness = True , accepted = True )
652
651
653
652
self .generate (self .nodes [0 ], 1 )
654
- self .sync_blocks ()
655
653
self .utxo .pop (0 )
656
654
self .utxo .append (UTXO (tx3 .sha256 , 0 , tx3 .vout [0 ].nValue ))
657
655
assert_equal (len (self .nodes [1 ].getrawmempool ()), 0 )
@@ -1354,7 +1352,6 @@ def test_segwit_versions(self):
1354
1352
temp_utxo .append (UTXO (tx .sha256 , 0 , tx .vout [0 ].nValue ))
1355
1353
1356
1354
self .generate (self .nodes [0 ], 1 ) # Mine all the transactions
1357
- self .sync_blocks ()
1358
1355
assert len (self .nodes [0 ].getrawmempool ()) == 0
1359
1356
1360
1357
# Finally, verify that version 0 -> version 2 transactions
@@ -1425,7 +1422,6 @@ def test_premature_coinbase_witness_spend(self):
1425
1422
1426
1423
# Now test a premature spend.
1427
1424
self .generate (self .nodes [0 ], 98 )
1428
- self .sync_blocks ()
1429
1425
block2 = self .build_next_block ()
1430
1426
self .update_witness_block_with_transactions (block2 , [spend_tx ])
1431
1427
test_witness_block (self .nodes [0 ], self .test_node , block2 , accepted = False , reason = 'bad-txns-premature-spend-of-coinbase' )
@@ -1744,7 +1740,6 @@ def test_non_standard_witness_blinding(self):
1744
1740
tx .rehash ()
1745
1741
test_transaction_acceptance (self .nodes [0 ], self .test_node , tx , False , True )
1746
1742
self .generate (self .nodes [0 ], 1 )
1747
- self .sync_blocks ()
1748
1743
1749
1744
# We'll add an unnecessary witness to this transaction that would cause
1750
1745
# it to be non-standard, to test that violating policy with a witness
@@ -1773,7 +1768,6 @@ def test_non_standard_witness_blinding(self):
1773
1768
test_transaction_acceptance (self .nodes [0 ], self .test_node , tx3 , False , True )
1774
1769
1775
1770
self .generate (self .nodes [0 ], 1 )
1776
- self .sync_blocks ()
1777
1771
1778
1772
# Update our utxo list; we spent the first entry.
1779
1773
self .utxo .pop (0 )
@@ -1808,7 +1802,6 @@ def test_non_standard_witness(self):
1808
1802
test_transaction_acceptance (self .nodes [0 ], self .test_node , tx , with_witness = False , accepted = True )
1809
1803
1810
1804
self .generate (self .nodes [0 ], 1 )
1811
- self .sync_blocks ()
1812
1805
1813
1806
# Creating transactions for tests
1814
1807
p2wsh_txs = []
0 commit comments