code: def _make_output(value, output_script, version=None):
      '''
      byte-like, byte-like -> TxOut
      '''
      if 'decred' in riemann.get_current_network_name():
          return tx.DecredTxOut(
              value=value,
              version=version,
              output_script=output_script)
      return tx.TxOut(value=value, output_script=output_scriptf _make_output(value, output_script, version=None):
      '''
      byte-like, byte-like -> TxOut
      '''
      if 'decred' in riemann.get_current_network_name():
          return tx.DecredTxOut(
              value=value,
              version=version,
              output_script=output_script)
      return tx.TxOut(value=value, output_script=output_script)
docs: byte-like, byte-like -> TxOut