Change classic_address to address xrpl-py

This commit is contained in:
JST5000
2023-06-08 14:33:14 -07:00
parent 45d9e894ed
commit 3a6c7dac74
46 changed files with 121 additions and 121 deletions

View File

@@ -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"])