Skip to content

Commit

Permalink
Change initial account transaction sequence to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
wltsmrz committed Oct 28, 2014
1 parent 4bd1e7a commit a3c1d06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/ripple/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ Account.prototype.getNextSequence = function(callback) {

function accountInfo(err, info) {
if (isNotFound(err)) {
// New accounts will start out as sequence zero
callback(null, 0);
// New accounts will start out as sequence one
callback(null, 1);
} else if (err) {
callback(err);
} else {
Expand Down

0 comments on commit a3c1d06

Please sign in to comment.