Skip to content

Commit

Permalink
bug/fix-update-script
Browse files Browse the repository at this point in the history
  • Loading branch information
matiu committed Jun 4, 2014
1 parent 65a5093 commit 1ce15f6
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 1ce15f6

Please sign in to comment.