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

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
Obiajulu
2022-09-27 23:00:38 -07:00
committed by GitHub
parent 4c26b5ae47
commit 3c56e0d0dc

View File

@@ -7,7 +7,7 @@ from xrpl.wallet import Wallet, generate_faucet_wallet
client = JsonRpcClient("https://s.altnet.rippletest.net:51234") # connect to the testnetwork client = JsonRpcClient("https://s.altnet.rippletest.net:51234") # connect to the testnetwork
# Cancel an escrow # Cancel an escrow
# If the escrow wasnt created with a CancelAfter time, it never expires and this transaction fails # Note: An Escrow can only be canceled if it was created with a CancelAfter time
escrow_creator = generate_faucet_wallet(client=client).classic_address # escrow creator/ sender address escrow_creator = generate_faucet_wallet(client=client).classic_address # escrow creator/ sender address
escrow_seq = int # escrow sequence escrow_seq = int # escrow sequence