Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix transaction sequence number bug caused by using JS Number #60

Merged
merged 1 commit into from
Jan 26, 2016

Conversation

irisli
Copy link
Contributor

@irisli irisli commented Jan 26, 2016

New accounts on the testnet are now created with a starting sequence number greater the native JavaScript Number max number. A new account I created on testnet had the sequence of 9048748768362496 where as the javascript max functional Number.MAX_SAFE_INTEGER is 9007199254740991 which is LESS than the sequence number of new accounts.

There was a bug in the laboratory and in js-stellar-base that relied on the insufficient Number native value in JavaScript.

@jedmccaleb
Copy link

r+

irisli added a commit that referenced this pull request Jan 26, 2016
fix transaction sequence number bug caused by using JS Number
@irisli irisli merged commit e22a3ab into master Jan 26, 2016
@irisli irisli deleted the fix-sequence-num branch March 21, 2016 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants