mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Update unfreeze_token.py
This commit is contained in:
@@ -41,7 +41,9 @@ stxn_result = stxn_response.result
|
||||
# Print result and transaction hash
|
||||
if stxn_result["meta"]["TransactionResult"] == "tesSUCCESS":
|
||||
print(f'Successfully enabled no freeze for {sender_wallet.classic_address}')
|
||||
print(stxn_result["hash"])
|
||||
if stxn_result["meta"]["TransactionResult"] == "tecNoLineRedundant":
|
||||
print("This was used on an account which didn't have a trustline yet. To try this out, modify `target_addr` to point to an account with a frozen trustline, and make sure the currency code matches.")
|
||||
else:
|
||||
print(stxn_result["meta"]["TransactionResult"])
|
||||
print(stxn_result["hash"])
|
||||
|
||||
print(stxn_result["hash"])
|
||||
|
||||
Reference in New Issue
Block a user