Apply suggestions from code review

Co-authored-by: Rome Reginelli <rome@ripple.com>
This commit is contained in:
Maria Shodunke
2025-07-16 09:55:13 +01:00
committed by GitHub
parent 24f501fda9
commit d564619d7e

View File

@@ -1,6 +1,6 @@
"""
Create, claim and verify a Payment Channel.
Reference: https://xrpl.org/paychannel.html
Reference: https://xrpl.org/docs/references/protocol/ledger-data/ledger-entry-types/paychannel
"""
from xrpl.clients import JsonRpcClient
from xrpl.models import (
@@ -18,6 +18,7 @@ from xrpl.account import get_balance
client = JsonRpcClient("https://s.altnet.rippletest.net:51234")
# Creating wallets as prerequisite
print("Setting up wallets...")
wallet1 = generate_faucet_wallet(client)
wallet2 = generate_faucet_wallet(client)