function usage(err) {
  if (err) {
    console.log(err);
    console.log('');
  }
  console.log('Usage: ./syncTxnAndCoinsWallets.js [options]');
  console.log('');
  console.log('  --chain <value>          BTC, BCH, ETH, etc.');
  console.log('  --network <value>        mainnet, testnet, or regtest');
  console.log('  --startHeight <value>    Block height to start at (inclusive)');
  console.log('  --endHeight <value>      Block height to end at (inclusive)');
  console.log('  --no-dry                 Run it for real');
  console.log('  --no-log-file            Output to console instead of writing to a log file');
  process.exit();
}
This script fixes an issue where the wallets are in Coin.wallets but not Transaction.wallets in the db