Skip to content

Commit 2164c2c

Browse files
author
abel
committed
(fix) Undo change in the example to get a transaction by hash
1 parent aeeb1d3 commit 2164c2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/exchange_client/explorer_rpc/1_GetTxByHash.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
async def main() -> None:
99
# select network: local, testnet, mainnet
10-
network = Network.mainnet()
10+
network = Network.testnet()
1111
client = AsyncClient(network, insecure=False)
1212
composer = Composer(network=network.string())
13-
tx_hash = "50DD80270052D85835939A393127B5626917007E71A7ABD5205F1A094B976C1B"
13+
tx_hash = "0F3EBEC1882E1EEAC5B7BDD836E976250F1CD072B79485877CEACCB92ACDDF52"
1414
transaction_response = await client.get_tx_by_hash(tx_hash=tx_hash)
1515
print(transaction_response)
1616

0 commit comments

Comments
 (0)