Assume the sequence number of an account on the ledger is 5. An incoming transaction contains a bump sequence operation, to bump to 10. The sequence number to be included in the transaction should be the sequence number on the ledger + 1.
Since we are bumping the sequence to 10, why not include 9 as the sequence number in the incoming transaction? What is the logic behind ledger sequence number + 1?
I tried providing 9 and the transaction failed with a bad_seq
error.