message: refactor(utxo-lib): move up createTransactionForNetwork
  Very cosmetic, but the most basic "constructor" should be on top
  Issue:
diff: @@ -12,6 +12,22 @@ type Transaction = any;
  type TransactionBuilder = any;
  +export function createTransactionForNetwork(network: Network): Transaction {
  + switch (getMainnet(network)) {
  + case networks.bitcoin:
  + case networks.bitcoincash:
  + case networks.bitcoinsv:
  + case networks.bitcoingold:
  + case networks.dash:
  + case networks.litecoin:
  + case networks.zcash:
  + return new Transaction(network);
  + }
  +
  + /* istanbul ignore next */
  + throw new Error(`invalid network`);
  +}
  +
  export function createTransactionFromBuffer(buf: Buffer, network: Network): Transaction {
  switch (getMainnet(network)) {
  case networks.bitcoin:
  @@ -77,19 +93,3 @@ export function createTransactionBuilderFromTransaction(tx: Transaction): Transa
  /* istanbul ignore next */
  throw new Error(`invalid network`);
  }
  -
  -export function createTransactionForNetwork(network: Network): Transaction {
  - switch (getMainnet(network)) {
  - case networks.bitcoin:
  - case networks.bitcoincash:
  - case networks.bitcoinsv:
  - case networks.bitcoingold:
  - case networks.dash:
  - case networks.litecoin:
  - case networks.zcash:
  - return new Transaction(network);
  - }
  -
  - /* istanbul ignore next */
  - throw new Error(`invalid network`);
  -}
  