Skip to content

Commit

Permalink
Remove no longer needed get_block_path.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi committed Jan 22, 2025
1 parent 115cba1 commit f3acabd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions chia/_tests/core/full_node/test_full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,6 @@ async def new_transaction_requested(incoming, new_spend):
return False


async def get_block_path(full_node: FullNodeAPI):
blocks_list = [await full_node.full_node.blockchain.get_full_peak()]
assert blocks_list[0] is not None
while blocks_list[0].height != 0:
b = await full_node.full_node.block_store.get_full_block(blocks_list[0].prev_header_hash)
assert b is not None
blocks_list.insert(0, b)
return blocks_list


@pytest.mark.anyio
async def test_sync_no_farmer(
setup_two_nodes_and_wallet,
Expand Down

0 comments on commit f3acabd

Please sign in to comment.