Invalid Sequence Number Exception
Exception thrown when the challenge transaction has an invalid sequence number.
SEP-10 Security Requirement: The sequence number MUST be exactly 0.
This requirement prevents transaction replay attacks. A sequence number of 0 ensures the transaction can never be submitted to the Stellar network, as all real accounts have sequence numbers starting at 0 and incrementing with each operation.
Attack scenario prevented: If a challenge used a real sequence number, an attacker who intercepts the signed challenge could potentially submit it to the network, executing unintended operations on the user's account.
Parameters
sequence Number
The actual sequence number found in the transaction