message: refactor(utxo-lib): add setTransactionBuilderDefaults
  We sometimes want to set TransactionBuilder defaults after it is
  already instantiated
  Issue:
diff: @@ -48,36 +48,43 @@ export function createTransactionFromHex(hex: string, network: Network): Transac
  return createTransactionFromBuffer(Buffer.from(hex, 'hex'), network);
  }
  -export function createTransactionBuilderForNetwork(network: Network): TransactionBuilder {
  - switch (getMainnet(network)) {
  - case networks.bitcoin:
  - case networks.bitcoincash:
  - case networks.bitcoinsv:
  - case networks.bitcoingold:
  - case networks.dash:
  - case networks.litecoin: {
  - const txb = new TransactionBuilder(network);
  +export function setTransactionBuilderDefaults(txb: TransactionBuilder, network: Network): void {
  switch (getMainnet(network)) {
  case networks.bitcoincash:
  case networks.bitcoinsv:
  txb.setVersion(2);
  - }
  - return txb;
  - }
  - case networks.zcash: {
  - const txb = new TransactionBuilder(network as ZcashNetwork);
  + break;
  + case networks.zcash:
  txb.setVersion(4);
  txb.setVersionGroupId(0x892f2085);
  // Use "Canopy" consensus branch ID https://zips.z.cash/zip-0251
  txb.setConsensusBranchId(0xe9ff75a6);
  - return txb;
  + break;
  }
  }
  +export function createTransactionBuilderForNetwork(network: Network): TransactionBuilder {
  + let txb;
  + switch (getMainnet(network)) {
  + case networks.bitcoin:
  + case networks.bitcoincash:
  + case networks.bitcoinsv:
  + case networks.bitcoingold:
  + case networks.dash:
  + case networks.litecoin:
  + case networks.zcash:
  + txb = new TransactionBuilder(network);
  + break;
  + default:
  /* istanbul ignore next */
  throw new Error(`invalid network`);
  }
  + setTransactionBuilderDefaults(txb, network);
  +
  + return txb;
  +}
  +
  export function createTransactionBuilderFromTransaction(tx: Transaction): TransactionBuilder {
  switch (getMainnet(tx.network)) {
  case networks.bitcoin:
  