  var txSimulationResults []byte  if txSimulationResults, err = txSimulator.GetTxSimulationResults(); err != nil {   return nil, err  }  tx := constructTransaction(txSimulationResults)  return tx, nil }  // 