From 12ab2b8a2ea5d8032432c4ef6d3e3ba226f6743f Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 9 Jan 2024 16:07:49 +0100 Subject: [PATCH] Remove unused wallet_height_at_least (#17213) Remove unused wallet_height_at_least. --- tests/wallet/simple_sync/test_simple_sync_protocol.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/wallet/simple_sync/test_simple_sync_protocol.py b/tests/wallet/simple_sync/test_simple_sync_protocol.py index 94a1e2105f..6bbf5fe972 100644 --- a/tests/wallet/simple_sync/test_simple_sync_protocol.py +++ b/tests/wallet/simple_sync/test_simple_sync_protocol.py @@ -30,14 +30,6 @@ from tests.connection_utils import add_dummy_connection from tests.util.setup_nodes import OldSimulatorsAndWallets from tests.util.time_out_assert import time_out_assert - -def wallet_height_at_least(wallet_node, h): - height = wallet_node.wallet_state_manager.blockchain._peak_height - if height == h: - return True - return False - - log = getLogger(__name__)