The transaction fees are calculated by the pool when they decide to add the transactions into a block they are trying to mine. The fees are not specified by a number tagged on to a transaction. It is actually the difference between the inputs and outputs, the unused amount of the inputs.