migrate: better logs.
This commit is contained in:
parent
cd0a8f2425
commit
49ee93f472
@ -187,11 +187,12 @@ var updateTXMap = co(function* updateTXMap() {
|
|||||||
if (!item)
|
if (!item)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
total++;
|
||||||
wallets = parseWallets(item.value);
|
wallets = parseWallets(item.value);
|
||||||
batch.put(item.key, serializeWallets(wallets.sort()));
|
batch.put(item.key, serializeWallets(wallets.sort()));
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Migrated %d tx map.', total);
|
console.log('Migrated %d tx maps.', total);
|
||||||
});
|
});
|
||||||
|
|
||||||
function pathFromRaw(data) {
|
function pathFromRaw(data) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user