Skip to content

Commit 3832b02

Browse files
committed
fix: remove unneded wait for new blocks
1 parent 7315170 commit 3832b02

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

cardano_node_tests/utils/defragment_utxos.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ def defragment(cluster_obj: clusterlib.ClusterLib, address: str, skey_file: pl.P
5252
cluster_obj.g_transaction.submit_tx_bare(tx_file=tx_signed_file)
5353
batch_num += 1
5454

55-
loop += 1
56-
57-
LOGGER.info(
58-
f"Defragmenting UTxOs: Waiting for {new_blocks} new blocks before starting loop {loop}"
59-
)
55+
LOGGER.info(f"Defragmenting UTxOs: Waiting for {new_blocks} new blocks after loop {loop}")
6056
cluster_obj.wait_for_new_block(new_blocks=new_blocks)
61-
62-
# Wait for the last defragmentation to be included in the chain
63-
cluster_obj.wait_for_new_block(new_blocks=new_blocks)
57+
loop += 1

0 commit comments

Comments
 (0)