Update content/_code-samples/escrow/py/create_escrow.py

Co-authored-by: jonathanlei <jlei@ripple.com>
This commit is contained in:
Obiajulu
2022-10-17 21:37:57 -07:00
committed by GitHub
parent 49d76e0dfe
commit 3c0136cee4

View File

@@ -32,7 +32,7 @@ sender_wallet = generate_faucet_wallet(client=client)
# Build escrow create transaction
create_txn = EscrowCreate(
account=sender_wallet.classic_address,
amount=xrp_to_drops(amount),
amount=xrp_to_drops(amount_to_escrow),
destination=receiver_addr,
finish_after=claim_date,
cancel_after=expiry_date,