From 67c91f8c2f3c3632baf26cea57307df787b1b70d Mon Sep 17 00:00:00 2001 From: Lea Lobanov Date: Sat, 2 Nov 2024 00:42:20 +0900 Subject: [PATCH] Clean up --- examples/transactions_examples.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/examples/transactions_examples.py b/examples/transactions_examples.py index 1246848..4727d27 100644 --- a/examples/transactions_examples.py +++ b/examples/transactions_examples.py @@ -281,25 +281,3 @@ async def run(self, ctx: Config): f"transaction proposer: {transaction.proposal_key.address.hex()}" ) self.log.info(f"transaction script: {transaction.script.decode('utf-8')}") - - -class DebuggingFetchTransactionByIdExample(Example): - def __init__(self) -> None: - super().__init__( - tag="T.LL.", name="DebuggingFetchTransactionByIdExample", sort_order=501 - ) - - async def run(self, ctx: Config): - # First Step : Create a client to connect to the flow blockchain - # flow_client function creates a client using the host and port - async with flow_client( - # host=ctx.access_node_host, port=ctx.access_node_port - host="access.mainnet.nodes.onflow.org", - port=9000, - ) as client: - - tx_id = "ef6e6dcba87c5f853e0ec940dd382d609ffe11109c28ed239843d71618fa1d71" - - transaction = await client.get_transaction_result(id=bytes.fromhex(tx_id)) - - print(f"Transaction ID: {tx_id}")