mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-29 08:05:49 +00:00
Change classic_address to address xrpl-py
This commit is contained in:
@@ -12,7 +12,7 @@ sender_wallet = generate_faucet_wallet(client=client)
|
||||
print("Successfully generated test wallet")
|
||||
|
||||
# build accountset transaction to disable freezing
|
||||
accountset = AccountSet(account=sender_wallet.classic_address, set_flag=AccountSetFlag.ASF_NO_FREEZE)
|
||||
accountset = AccountSet(account=sender_wallet.address, set_flag=AccountSetFlag.ASF_NO_FREEZE)
|
||||
|
||||
print("Now sending an AccountSet transaction to set the ASF_NO_FREEZE flag...")
|
||||
|
||||
@@ -25,6 +25,6 @@ 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(f'Successfully enabled no freeze for {sender_wallet.address}')
|
||||
print(stxn_result["hash"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user