mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 12:45:50 +00:00
fix wallet sequence
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user