message: chore(core): remove coroutines  in v2/internal/internal
  Ticket:
diff: /**
  */
  -import * as Bluebird from 'bluebird';
  import { BitGo } from '../../bitgo';
  import { BaseCoin } from '../baseCoin';
  import { isUndefined } from 'lodash';
  -const co = Bluebird.coroutine;
  -
  /**
  * Internal function to centralize this route for wallet-scoped and enterprise-scoped queries
  * Params must contain either walletId or enterpriseId
  @@ -20,12 +17,11 @@ const co = Bluebird.coroutine;
  * @param bitgo The BitGo object
  * @returns result of the query
  */
  -export function getFirstPendingTransaction(
  +export async function getFirstPendingTransaction(
  params: { walletId?: string; enterpriseId?: string },
  baseCoin: BaseCoin,
  bitgo: BitGo
  -): Bluebird<any> {
  - return co(function* () {
  +): Promise<any> {
  // These errors should never happen when this is called from wallet.js or enterprise.js
  if (isUndefined(baseCoin)) {
  throw new Error('Must provide baseCoin');
  @@ -36,6 +32,5 @@ export function getFirstPendingTransaction(
  if (isUndefined(params.walletId) && isUndefined(params.enterpriseId)) {
  throw new Error('Must provide either walletId or enterpriseId');
  }
  - return bitgo.get(baseCoin.url('/tx/pending/first')).query(params).result();
  - }).call(this);
  + return await bitgo.get(baseCoin.url('/tx/pending/first')).query(params).result();
  }
  