JS: Hotfix for sequence issue.

This commit is contained in:
Stefan Thomas
2013-02-23 23:25:55 +01:00
parent 0c7d8136cf
commit 3932ce95fd
2 changed files with 59 additions and 27 deletions

View File

@@ -1082,7 +1082,8 @@ Remote.prototype.account_seq = function (account, advance) {
{
seq = account_info.seq;
if (advance) account_info.seq += 1;
if (advance === "ADVANCE") account_info.seq += 1;
if (advance === "REWIND") account_info.seq -= 1;
// console.log("cached: %s current=%d next=%d", account, seq, account_info.seq);
}