'use strict';

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

module.exports = decorateSendTxParams;
