mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
Change classic_address to address xrpl-py
This commit is contained in:
@@ -27,7 +27,7 @@ destination_amount = IssuedCurrencyAmount(
|
||||
|
||||
# Create a RipplePathFind request and have the client call it
|
||||
path_request = RipplePathFind(
|
||||
source_account=wallet.classic_address,
|
||||
source_account=wallet.address,
|
||||
source_currencies=[XRP()],
|
||||
destination_account=destination_account,
|
||||
destination_amount=destination_amount,
|
||||
@@ -41,7 +41,7 @@ print(paths)
|
||||
|
||||
# # Create a Payment to send money from wallet to destination_account using path
|
||||
payment_tx = Payment(
|
||||
account=wallet.classic_address,
|
||||
account=wallet.address,
|
||||
amount=destination_amount,
|
||||
destination=destination_account,
|
||||
paths=paths,
|
||||
|
||||
Reference in New Issue
Block a user