go icon indicating copy to clipboard operation
go copied to clipboard

txnbuild: validate bump sequence number

Open howardtw opened this issue 2 years ago • 0 comments

What version are you using?

txnbuild v10.0.0. (master)

What did you do?

I checked the code and found out that the BumpSequence validate function incorrectly uses the validateAmount helper to check for the sequence number.

What did you expect to see?

A helper function made for checking the valid range of sequence number.

What did you see instead?

A helper function made for checking the "stellar amount" is used to check the sequence number.

howardtw avatar May 09 '22 16:05 howardtw