mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Update content/_code-samples/escrow/py/create_escrow.py
Co-authored-by: jonathanlei <jlei@ripple.com>
This commit is contained in:
@@ -32,7 +32,7 @@ sender_wallet = generate_faucet_wallet(client=client)
|
|||||||
# Build escrow create transaction
|
# Build escrow create transaction
|
||||||
create_txn = EscrowCreate(
|
create_txn = EscrowCreate(
|
||||||
account=sender_wallet.classic_address,
|
account=sender_wallet.classic_address,
|
||||||
amount=xrp_to_drops(amount),
|
amount=xrp_to_drops(amount_to_escrow),
|
||||||
destination=receiver_addr,
|
destination=receiver_addr,
|
||||||
finish_after=claim_date,
|
finish_after=claim_date,
|
||||||
cancel_after=expiry_date,
|
cancel_after=expiry_date,
|
||||||
|
|||||||
Reference in New Issue
Block a user