'use strict';

/**
 * @param {TxParams} params
 * @return {TxParams}
 */
function decorateCreateSwapPoolTxParams(params) {
  if (params.gasCoin === undefined) {
    params.gasCoin = params.data.coin0;
  }
  return params;
}

module.exports = decorateCreateSwapPoolTxParams;
