Skip to content

Commit

Permalink
fix comment and deDup negation
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed Jan 3, 2025
1 parent ee95b76 commit 8b8bee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bitcore-node/scripts/migrateTestnetWallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function usage(errMsg) {
console.log(' --oldNetwork <value> REQUIRED - e.g. testnet3');
console.log(' --newNetwork <value> REQUIRED - e.g. testnet4');
console.log(' --batchSize <value> Number of documents to update at a time. Default: 10000');
console.log(' --deDup Delete duplicate walletAddresses (can happen if users');
console.log(' --deDup Delete duplicate walletAddresses (dups can happen if an updated wallet is queried before addresses are updated)');
console.log(' --doit Save the migration to the db. Make sure you stop sync services before running this script');
if (errMsg) {
console.log('\nERROR: ' + errMsg);
Expand All @@ -32,7 +32,7 @@ const newNetworkIdx = args.indexOf('--newNetwork');
const chain = args[chainIdx + 1]?.toUpperCase();
const oldNetwork = args[oldNetworkIdx + 1]?.toLowerCase();
const newNetwork = args[newNetworkIdx + 1]?.toLowerCase();
const deDup = !args.includes('--deDup');
const deDup = args.includes('--deDup');
const dryRun = !args.includes('--doit');

if (
Expand Down

0 comments on commit 8b8bee8

Please sign in to comment.