mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-26 14:45:50 +00:00
Change classic_address to address xrpl-py
This commit is contained in:
@@ -25,7 +25,7 @@ expiry_date = datetime_to_ripple_time(datetime.now() + timedelta(days=5))
|
||||
sender_wallet = generate_faucet_wallet(client=client)
|
||||
|
||||
# Build check create transaction
|
||||
check_txn = CheckCreate(account=sender_wallet.classic_address, destination=receiver_addr,
|
||||
check_txn = CheckCreate(account=sender_wallet.address, destination=receiver_addr,
|
||||
send_max=IssuedCurrencyAmount(
|
||||
currency=str_to_hex(token),
|
||||
issuer=issuer,
|
||||
@@ -59,7 +59,7 @@ expiry_date = datetime_to_ripple_time(datetime.now() + timedelta(days=5))
|
||||
sender_wallet = generate_faucet_wallet(client=client)
|
||||
|
||||
# Build check create transaction
|
||||
check_txn = CheckCreate(account=sender_wallet.classic_address,
|
||||
check_txn = CheckCreate(account=sender_wallet.address,
|
||||
destination=receiver_addr,
|
||||
send_max=xrp_to_drops(amount),
|
||||
expiration=expiry_date)
|
||||
|
||||
Reference in New Issue
Block a user