fix wallet sequence

This commit is contained in:
Mayukha Vadari
2021-06-08 10:28:01 -04:00
parent 2e8074865c
commit d8fe0ec357

View File

@@ -12,7 +12,7 @@ my_payment = Payment(
amount=xrp_to_drops(22), amount=xrp_to_drops(22),
fee="10", fee="10",
destination="rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe", destination="rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
sequence=16237283, sequence=wallet.sequence, # this needs to be incremented upon every successful transaction
) )
print("Payment object:", my_payment) print("Payment object:", my_payment)