From 2e8074865cdbae6508aa17d92cf5382596db0def Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Thu, 3 Jun 2021 13:36:12 -0400 Subject: [PATCH] fix secure signing --- content/_code-samples/secure-signing/py/sign-payment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)