From 49ee93f47212c6faef9997accff7902e4a4f95cd Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 4 Oct 2016 16:39:25 -0700 Subject: [PATCH] migrate: better logs. --- migrate/walletdb2to3.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migrate/walletdb2to3.js b/migrate/walletdb2to3.js index 6150fdaa..d4c6d8bd 100644 --- a/migrate/walletdb2to3.js +++ b/migrate/walletdb2to3.js @@ -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) {