TicketCreate: correct sequence number off-by-one in more places

This commit is contained in:
mDuo13
2021-04-21 12:06:50 -07:00
parent 75e0d3bf33
commit 0093cb2888
3 changed files with 89 additions and 89 deletions

View File

@@ -38,7 +38,7 @@ A TicketCreate transaction sets aside one or more [sequence numbers][Sequence Nu
If the transaction cannot create _all_ of the requested Tickets (either due to the 250-Ticket limit or the [owner reserve](reserves.html)), it fails and creates no Tickets. To look up how many Tickets an account currently owns, use the [account_info method][] and check the `account_data.TicketCount` field.
**Tip:** This transaction increases the sending account's [sequence number][Sequence Number] by the number of tickets created (`TicketCount`). This is the only transaction that increases an account's sequence number by more than 1.
**Tip:** This transaction increases the sending account's [sequence number][Sequence Number] by 1 _plus_ the number of tickets created (`TicketCount`). This is the only transaction that increases an account's sequence number by more than 1.
## Error Cases