diff --git a/lib/TransactionDb.js b/lib/TransactionDb.js index f6f3876b9..fe34a5925 100644 --- a/lib/TransactionDb.js +++ b/lib/TransactionDb.js @@ -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) {