migrate: better logs.

This commit is contained in:
Christopher Jeffrey 2016-10-04 16:39:25 -07:00
parent cd0a8f2425
commit 49ee93f472
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -187,11 +187,12 @@ var updateTXMap = co(function* updateTXMap() {
if (!item)
break;
total++;
wallets = parseWallets(item.value);
batch.put(item.key, serializeWallets(wallets.sort()));
}
console.log('Migrated %d tx map.', total);
console.log('Migrated %d tx maps.', total);
});
function pathFromRaw(data) {