diff --git a/content/_code-samples/secure-signing/py/sign-payment.py b/content/_code-samples/secure-signing/py/sign-payment.py index b3c82cf9d5..3dafef9426 100644 --- a/content/_code-samples/secure-signing/py/sign-payment.py +++ b/content/_code-samples/secure-signing/py/sign-payment.py @@ -2,7 +2,7 @@ import os my_secret = os.getenv("MYSECRET") from xrpl.wallet import Wallet -wallet = Wallet(seed="MYSECRET", sequence=16237283) +wallet = Wallet(seed=my_secret, sequence=16237283) print(wallet.classic_address) # "raaFKKmgf6CRZttTVABeTcsqzRQ51bNR6Q" from xrpl.models.transactions import Payment @@ -12,7 +12,7 @@ my_payment = Payment( amount=xrp_to_drops(22), fee="10", destination="rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe", - sequence=16126889, + sequence=16237283, ) print("Payment object:", my_payment)