Skip to content

Commit

Permalink
Merge pull request #116 from matiu/bug/fix-update-script
Browse files Browse the repository at this point in the history
bug/fix-update-script
  • Loading branch information
matiu committed Jun 4, 2014
2 parents fcbd1f6 + 1ce15f6 commit 0f2cb4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/TransactionDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,8 @@ TransactionDb.prototype.migrateV02 = function(cb) {
var v = data.value.split(':');
dbScript.push({
type: 'put',
key: ADDR_PREFIX + k[1] + '-' + (END_OF_WORLD_TS - parseInt(v[1])) + '-' + k[3] + '-' + [4],
key: ADDR_PREFIX + k[1] + '-' + (END_OF_WORLD_TS - parseInt(v[1]))
+ '-' + k[2] + '-' + k[3],
value: v[0],
});
if (c++>N) {
Expand Down

0 comments on commit 0f2cb4c

Please sign in to comment.