From 921a3f4e8904baf8d54a4d9bae4a348002fcb562 Mon Sep 17 00:00:00 2001 From: Obiajulu <47371105+ObiajuluM@users.noreply.github.com> Date: Sat, 5 Nov 2022 00:27:29 -0700 Subject: [PATCH] Update freeze_token.py --- content/_code-samples/freeze/py/freeze_token.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/_code-samples/freeze/py/freeze_token.py b/content/_code-samples/freeze/py/freeze_token.py index b8223bf521..6f0bd737fb 100644 --- a/content/_code-samples/freeze/py/freeze_token.py +++ b/content/_code-samples/freeze/py/freeze_token.py @@ -16,6 +16,8 @@ target_addr = generate_faucet_wallet(client=client).classic_address sender_wallet = generate_faucet_wallet(client=client) +print("Successfully generated test wallets") + # Build trustline freeze transaction trustset = TrustSet(account=sender_wallet.classic_address, limit_amount=IssuedCurrencyAmount( currency= token_name, @@ -26,6 +28,8 @@ trustset = TrustSet(account=sender_wallet.classic_address, limit_amount=IssuedCu # Sign transaction stxn = safe_sign_and_autofill_transaction(trustset, sender_wallet, client) +print("Now setting a trustline with the TF_SET_FREEZE flag enabled...") + # Submit transaction and wait for result stxn_response = send_reliable_submission(stxn, client)