Skip to content
Permalink
Browse files

Sync reindex more verbose

  • Loading branch information
TheHolyRoger committed Dec 28, 2019
1 parent 739a6f9 commit 8566ef671c68b99b6d2bd1dd2c105f045e38ec6e
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/sync.js
@@ -148,8 +148,11 @@ is_locked(function (exists) {
}
if (mode == 'reindex') {
Tx.deleteMany({}, function(err) {
console.log('TXs cleared.');
Address.deleteMany({}, function(err2) {
console.log('Addresses cleared.');
AddressTx.deleteMany({}, function(err3) {
console.log('Address TXs cleared.');
Richlist.updateOne({coin: settings.coin}, {
received: [],
balance: [],

0 comments on commit 8566ef6

Please sign in to comment.
You can’t perform that action at this time.