mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Update content/_code-samples/escrow/py/cancel_escrow.py
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ from xrpl.wallet import Wallet, generate_faucet_wallet
|
||||
client = JsonRpcClient("https://s.altnet.rippletest.net:51234") # connect to the testnetwork
|
||||
|
||||
# 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_seq = int # escrow sequence
|
||||
|
||||
Reference in New Issue
Block a user